[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [33227] trunk/blender: rename hide_tooltips_python to show_ ..., tag unused variable with recent sequencer commits.

Campbell Barton ideasman42 at gmail.com
Mon Nov 22 06:36:51 CET 2010


Revision: 33227
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=33227
Author:   campbellbarton
Date:     2010-11-22 06:36:49 +0100 (Mon, 22 Nov 2010)

Log Message:
-----------
rename hide_tooltips_python to show_ ..., tag unused variable with recent sequencer commits.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/space_userpref.py
    trunk/blender/source/blender/blenkernel/intern/sequencer.c
    trunk/blender/source/blender/makesrna/intern/rna_userdef.c

Modified: trunk/blender/release/scripts/ui/space_userpref.py
===================================================================
--- trunk/blender/release/scripts/ui/space_userpref.py	2010-11-22 00:10:32 UTC (rev 33226)
+++ trunk/blender/release/scripts/ui/space_userpref.py	2010-11-22 05:36:49 UTC (rev 33227)
@@ -156,7 +156,7 @@
         col = row.column()
         col.label(text="Display:")
         col.prop(view, "show_tooltips")
-        col.prop(view, "hide_tooltips_python")
+        col.prop(view, "show_tooltips_python")
         col.prop(view, "show_object_info", text="Object Info")
         col.prop(view, "show_large_cursors")
         col.prop(view, "show_view_name", text="View Name")

Modified: trunk/blender/source/blender/blenkernel/intern/sequencer.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/sequencer.c	2010-11-22 00:10:32 UTC (rev 33226)
+++ trunk/blender/source/blender/blenkernel/intern/sequencer.c	2010-11-22 05:36:49 UTC (rev 33227)
@@ -1527,7 +1527,7 @@
 */
 
 int input_have_to_preprocess(
-	SeqRenderData UNUSED(context), Sequence * seq, float cfra)
+	SeqRenderData UNUSED(context), Sequence * seq, float UNUSED(cfra))
 {
 	float mul;
 

Modified: trunk/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_userdef.c	2010-11-22 00:10:32 UTC (rev 33226)
+++ trunk/blender/source/blender/makesrna/intern/rna_userdef.c	2010-11-22 05:36:49 UTC (rev 33227)
@@ -1923,9 +1923,9 @@
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", USER_TOOLTIPS);
 	RNA_def_property_ui_text(prop, "Tooltips", "Display tooltips");
 
-	prop= RNA_def_property(srna, "hide_tooltips_python", PROP_BOOLEAN, PROP_NONE);
-	RNA_def_property_boolean_sdna(prop, NULL, "flag", USER_TOOLTIPS_PYTHON);
-	RNA_def_property_ui_text(prop, "Hide Python Tooltips", "Hide Python references in tooltips");
+	prop= RNA_def_property(srna, "show_tooltips_python", PROP_BOOLEAN, PROP_NONE);
+	RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", USER_TOOLTIPS_PYTHON);
+	RNA_def_property_ui_text(prop, "Show Python Tooltips", "Show Python references in tooltips");
 
 	prop= RNA_def_property(srna, "show_object_info", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_DRAWVIEWINFO);





More information about the Bf-blender-cvs mailing list