mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 10:25:58 +08:00
Add custom ColorDialog.qml with simple hex value selector.
Cura-8681
This commit is contained in:
parent
2e1f2a37a3
commit
9bad66b6ce
@ -217,7 +217,7 @@ Item
|
|||||||
|
|
||||||
// popup dialog to select a new color
|
// popup dialog to select a new color
|
||||||
// if successful it sets the properties.color_code value to the new color
|
// if successful it sets the properties.color_code value to the new color
|
||||||
ColorDialog
|
UM.ColorDialog
|
||||||
{
|
{
|
||||||
id: colorDialog
|
id: colorDialog
|
||||||
color: properties.color_code
|
color: properties.color_code
|
||||||
@ -569,6 +569,11 @@ Item
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getMetaDataEntry(entry_name)
|
||||||
|
{
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
function setMaterialPreferenceValue(material_guid, entry_name, new_value)
|
function setMaterialPreferenceValue(material_guid, entry_name, new_value)
|
||||||
{
|
{
|
||||||
if(!(material_guid in materialPreferenceValues))
|
if(!(material_guid in materialPreferenceValues))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user