[Bf-blender-cvs] [1760763] master: Frame cursor color was missing for the image editor

Sergey Sharybin noreply at git.blender.org
Wed Apr 30 13:40:10 CEST 2014


Commit: 1760763beca523d0cd1860fbb091bc4206f518b0
Author: Sergey Sharybin
Date:   Wed Apr 30 17:35:19 2014 +0600
https://developer.blender.org/rB1760763beca523d0cd1860fbb091bc4206f518b0

Frame cursor color was missing for the image editor

===================================================================

M	source/blender/makesrna/intern/rna_userdef.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 264118e..7c101fb 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -2252,6 +2252,12 @@ static void rna_def_userdef_theme_space_image(BlenderRNA *brna)
 	RNA_def_property_ui_text(prop, "Other Object UVs", "");
 	RNA_def_property_update(prop, 0, "rna_userdef_update");
 
+	prop = RNA_def_property(srna, "frame_current", PROP_FLOAT, PROP_COLOR_GAMMA);
+	RNA_def_property_float_sdna(prop, NULL, "cframe");
+	RNA_def_property_array(prop, 3);
+	RNA_def_property_ui_text(prop, "Current Frame", "");
+	RNA_def_property_update(prop, 0, "rna_userdef_update");
+
 	rna_def_userdef_theme_spaces_curves(srna, false, false, false);
 }




More information about the Bf-blender-cvs mailing list