forked from bartvdbraak/blender
tiny fix: stamp alpha color was lacking range parameter
I was going to commit it later with other changes, but I'm changing other stuff at rna_scene.c for the gamedata, and didn't want to mix it up.
This commit is contained in:
parent
d3799843aa
commit
097d05a1af
@ -1220,12 +1220,14 @@ void rna_def_scene_render_data(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "stamp_foreground", PROP_FLOAT, PROP_COLOR);
|
||||
RNA_def_property_float_sdna(prop, NULL, "fg_stamp");
|
||||
RNA_def_property_array(prop, 4);
|
||||
RNA_def_property_range(prop,0.0,1.0);
|
||||
RNA_def_property_ui_text(prop, "Stamp Foreground", "Stamp text color");
|
||||
RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "stamp_background", PROP_FLOAT, PROP_COLOR);
|
||||
RNA_def_property_float_sdna(prop, NULL, "bg_stamp");
|
||||
RNA_def_property_array(prop, 4);
|
||||
RNA_def_property_range(prop,0.0,1.0);
|
||||
RNA_def_property_ui_text(prop, "Stamp Background", "Color to use behind stamp text");
|
||||
RNA_def_property_update(prop, NC_SCENE|ND_RENDER_OPTIONS, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user