[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44049] trunk/blender/source/blender/ makesrna/intern/rna_space.c: Regression fix for "Show Seconds" in Sequencer .

Sergey Sharybin sergey.vfx at gmail.com
Sun Feb 12 10:04:23 CET 2012


Revision: 44049
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44049
Author:   nazgul
Date:     2012-02-12 09:04:12 +0000 (Sun, 12 Feb 2012)
Log Message:
-----------
Regression fix for "Show Seconds" in Sequencer.
It was missed RNA property in Sequencer space which lead to issues after recent
refactoring of related areas.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_space.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_space.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_space.c	2012-02-12 06:24:12 UTC (rev 44048)
+++ trunk/blender/source/blender/makesrna/intern/rna_space.c	2012-02-12 09:04:12 UTC (rev 44049)
@@ -1976,6 +1976,11 @@
 	RNA_def_property_ui_text(prop, "Use Grease Pencil", "Display and edit the grease pencil freehand annotations overlay");
 	RNA_def_property_update(prop, NC_SPACE|ND_SPACE_SEQUENCER, NULL);
 	
+	prop= RNA_def_property(srna, "show_seconds", PROP_BOOLEAN, PROP_NONE);
+	RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", SEQ_DRAWFRAMES);
+	RNA_def_property_ui_text(prop, "Show Seconds", "Show timing in seconds not frames");
+	RNA_def_property_update(prop, NC_SPACE|ND_SPACE_SEQUENCER, NULL);
+
 	/* grease pencil */
 	prop= RNA_def_property(srna, "grease_pencil", PROP_POINTER, PROP_NONE);
 	RNA_def_property_pointer_sdna(prop, NULL, "gpd");




More information about the Bf-blender-cvs mailing list