make new rna variables more consistant with existing names.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 25 Sep 2011 02:49:46 +0000 (02:49 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 25 Sep 2011 02:49:46 +0000 (02:49 +0000)
release/scripts/startup/bl_ui/properties_data_armature.py
release/scripts/startup/bl_ui/properties_game.py
release/scripts/startup/bl_ui/space_sequencer.py
source/blender/makesrna/intern/rna_armature.c
source/blender/makesrna/intern/rna_object.c
source/blender/makesrna/intern/rna_sequencer.c
source/blender/makesrna/intern/rna_sound.c

index 61093abe81400d4985907652124b40ad4495eac5..e4744fdb04fc42cf9aae45bbad2df8c139b7bf1a 100644 (file)
@@ -72,7 +72,7 @@ class DATA_PT_skeleton(ArmatureButtonsPanel, Panel):
         flow.prop(arm, "use_deform_preserve_volume", text="Quaternion")
 
         if context.scene.render.engine == "BLENDER_GAME":
-            layout.row().prop(arm, "vert_deformer", expand=True)
+            layout.row().prop(arm, "deform_method", expand=True)
 
 
 class DATA_PT_display(ArmatureButtonsPanel, Panel):
index 26b95484b282f0f27d8a0d8882842fc8ed76a583..469c1e68706ba32e8a198bbea95605d7875b6524 100644 (file)
@@ -209,14 +209,14 @@ class PHYSICS_PT_game_obstacles(PhysicsButtonsPanel, Panel):
     def draw_header(self, context):
         game = context.active_object.game
 
-        self.layout.prop(game, "create_obstacle", text="")
+        self.layout.prop(game, "use_obstacle_create", text="")
 
     def draw(self, context):
         layout = self.layout
 
         game = context.active_object.game
 
-        layout.active = game.create_obstacle
+        layout.active = game.use_obstacle_create
 
         row = layout.row()
         row.prop(game, "obstacle_radius", text="Radius")
index d711c37b8b5c35bc8540ceef78e02bff74363401..cabd8356ad0c6c992679e593efdc530669c50b18 100644 (file)
@@ -584,7 +584,7 @@ class SEQUENCER_PT_input(SequencerButtonsPanel, Panel):
             col = split.column()
             col.prop(strip, "filepath", text="")
             col.prop(strip, "mpeg_preseek", text="MPEG Preseek")
-            col.prop(strip, "streamindex", text="Stream Index")
+            col.prop(strip, "stream_index", text="Stream Index")
 
         # TODO, sound???
         # end drawing filename
index ec928415876d846896767fc7bea70ee3133e73f4..a834fcf820b34f593dcf48f0066446c2850b7ef8 100644 (file)
@@ -867,7 +867,7 @@ static void rna_def_armature(BlenderRNA *brna)
        RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
        RNA_def_property_flag(prop, PROP_LIB_EXCEPTION);
 
-       prop= RNA_def_property(srna, "vert_deformer", PROP_ENUM, PROP_NONE);
+       prop= RNA_def_property(srna, "deform_method", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_sdna(prop, NULL, "gevertdeformer");
        RNA_def_property_enum_items(prop, prop_vdeformer);
        RNA_def_property_ui_text(prop, "Vertex Deformer", "");
index 6c273ff9f2e76c562e0a9e838aaf3ddfbe1bc592..1f3a134f14d4dbf874827e142ebe4a9f7cc16211 100644 (file)
@@ -1524,7 +1524,7 @@ static void rna_def_object_game_settings(BlenderRNA *brna)
        RNA_def_property_pointer_sdna(prop, NULL, "bsoft");
        RNA_def_property_ui_text(prop, "Soft Body Settings", "Settings for Bullet soft body simulation");
 
-       prop= RNA_def_property(srna, "create_obstacle", PROP_BOOLEAN, PROP_NONE);
+       prop= RNA_def_property(srna, "use_obstacle_create", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "gameflag", OB_HASOBSTACLE);
        RNA_def_property_ui_text(prop, "Create obstacle", "Create representation for obstacle simulation");
 
index 86682af189c4b04f10d59129ac51899fc87ed3ee..96e6eea22af912003ff17ce14c7cc83d6e5550db 100644 (file)
@@ -1421,7 +1421,7 @@ static void rna_def_movie(BlenderRNA *brna)
        RNA_def_property_ui_text(prop, "MPEG Preseek", "For MPEG movies, preseek this many frames");
        RNA_def_property_update(prop, NC_SCENE|ND_SEQUENCER, "rna_Sequence_update");
 
-       prop= RNA_def_property(srna, "streamindex", PROP_INT, PROP_NONE);
+       prop= RNA_def_property(srna, "stream_index", PROP_INT, PROP_NONE);
        RNA_def_property_int_sdna(prop, NULL, "streamindex");
        RNA_def_property_range(prop, 0, 20);
        RNA_def_property_ui_text(prop, "Streamindex", "For files with several movie streams, use the stream with the given index");
index a6c1f400adeccf78ede74ca5ef14936b86f95cdb..a656e6d56df4d8401c7ae4a322c52924e96ff685 100644 (file)
@@ -94,7 +94,7 @@ static void rna_def_sound(BlenderRNA *brna)
        RNA_def_property_ui_text(prop, "Caching", "The sound file is decoded and loaded into RAM");
        RNA_def_property_update(prop, 0, "rna_Sound_caching_update");
 
-       prop= RNA_def_property(srna, "mono", PROP_BOOLEAN, PROP_NONE);
+       prop= RNA_def_property(srna, "use_mono", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flags", SOUND_FLAGS_MONO);
        RNA_def_property_ui_text(prop, "Mono", "If the file contains multiple audio channels they are rendered to a single one");
        RNA_def_property_update(prop, 0, "rna_Sound_update");