forked from bartvdbraak/blender
Fix copy-paste of colors to generated color not being correct. '
Change generated color property to gamma space to match the add new image operator.
This commit is contained in:
parent
d36fb8e34e
commit
0527183090
@ -675,7 +675,7 @@ static void rna_def_image(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, NC_IMAGE | ND_DISPLAY, "rna_Image_generated_update");
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
|
||||
prop = RNA_def_property(srna, "generated_color", PROP_FLOAT, PROP_COLOR);
|
||||
prop = RNA_def_property(srna, "generated_color", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||
RNA_def_property_float_sdna(prop, NULL, "gen_color");
|
||||
RNA_def_property_array(prop, 4);
|
||||
RNA_def_property_ui_text(prop, "Color", "Fill color for the generated image");
|
||||
|
Loading…
Reference in New Issue
Block a user