[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31439] trunk/blender: more rna renaming.
Campbell Barton
ideasman42 at gmail.com
Wed Aug 18 10:26:18 CEST 2010
Revision: 31439
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31439
Author: campbellbarton
Date: 2010-08-18 10:26:18 +0200 (Wed, 18 Aug 2010)
Log Message:
-----------
more rna renaming.
Modified Paths:
--------------
trunk/blender/release/scripts/modules/rna_info.py
trunk/blender/release/scripts/op/fcurve_euler_filter.py
trunk/blender/release/scripts/ui/properties_animviz.py
trunk/blender/release/scripts/ui/properties_data_bone.py
trunk/blender/release/scripts/ui/properties_data_curve.py
trunk/blender/release/scripts/ui/properties_data_modifier.py
trunk/blender/release/scripts/ui/properties_game.py
trunk/blender/release/scripts/ui/properties_particle.py
trunk/blender/release/scripts/ui/properties_physics_cloth.py
trunk/blender/release/scripts/ui/properties_physics_common.py
trunk/blender/release/scripts/ui/properties_physics_smoke.py
trunk/blender/release/scripts/ui/properties_physics_softbody.py
trunk/blender/release/scripts/ui/properties_texture.py
trunk/blender/release/scripts/ui/space_info.py
trunk/blender/release/scripts/ui/space_nla.py
trunk/blender/release/scripts/ui/space_sequencer.py
trunk/blender/release/scripts/ui/space_time.py
trunk/blender/release/scripts/ui/space_view3d.py
trunk/blender/release/scripts/ui/space_view3d_toolbar.py
trunk/blender/source/blender/editors/space_graph/graph_buttons.c
trunk/blender/source/blender/makesrna/intern/rna_animviz.c
trunk/blender/source/blender/makesrna/intern/rna_constraint.c
trunk/blender/source/blender/makesrna/intern/rna_curve.c
trunk/blender/source/blender/makesrna/intern/rna_fcurve.c
trunk/blender/source/blender/makesrna/intern/rna_key.c
trunk/blender/source/blender/makesrna/intern/rna_mesh.c
trunk/blender/source/blender/makesrna/intern/rna_modifier.c
trunk/blender/source/blender/makesrna/intern/rna_object_force.c
trunk/blender/source/blender/makesrna/intern/rna_particle.c
trunk/blender/source/blender/makesrna/intern/rna_pose.c
trunk/blender/source/blender/makesrna/intern/rna_rna.c
trunk/blender/source/blender/makesrna/intern/rna_scene.c
trunk/blender/source/blender/makesrna/intern/rna_sculpt_paint.c
trunk/blender/source/blender/makesrna/intern/rna_sequencer.c
trunk/blender/source/blender/makesrna/intern/rna_smoke.c
trunk/blender/source/blender/makesrna/intern/rna_text.c
trunk/blender/source/blender/makesrna/intern/rna_texture.c
trunk/blender/source/blender/makesrna/rna_cleanup/rna_properties.txt
trunk/blender/source/gameengine/Converter/BL_ArmatureChannel.cpp
trunk/blender/source/gameengine/Converter/BL_ArmatureConstraint.cpp
Modified: trunk/blender/release/scripts/modules/rna_info.py
===================================================================
--- trunk/blender/release/scripts/modules/rna_info.py 2010-08-18 07:45:32 UTC (rev 31438)
+++ trunk/blender/release/scripts/modules/rna_info.py 2010-08-18 08:26:18 UTC (rev 31439)
@@ -314,7 +314,7 @@
for rna_prop in rna_func.parameters.values():
prop = GetInfoPropertyRNA(rna_prop, parent_id)
- if rna_prop.use_output:
+ if rna_prop.is_output:
self.return_values.append(prop)
else:
self.args.append(prop)
Modified: trunk/blender/release/scripts/op/fcurve_euler_filter.py
===================================================================
--- trunk/blender/release/scripts/op/fcurve_euler_filter.py 2010-08-18 07:45:32 UTC (rev 31438)
+++ trunk/blender/release/scripts/op/fcurve_euler_filter.py 2010-08-18 08:26:18 UTC (rev 31439)
@@ -7,7 +7,7 @@
keys = []
for k in fcv.keyframe_points:
- keys.append([k.handle1.copy(), k.co.copy(), k.handle2.copy()])
+ keys.append([k.handle_left.copy(), k.co.copy(), k.handle_right.copy()])
print(keys)
for i in range(len(keys)):
@@ -34,9 +34,9 @@
for i in range(len(keys)):
for x in range(2):
- fcv.keyframe_points[i].handle1[x] = keys[i][0][x]
+ fcv.keyframe_points[i].handle_left[x] = keys[i][0][x]
fcv.keyframe_points[i].co[x] = keys[i][1][x]
- fcv.keyframe_points[i].handle2[x] = keys[i][2][x]
+ fcv.keyframe_points[i].handle_right[x] = keys[i][2][x]
flist = bpy.context.active_object.animation_data.action.fcurves
for f in flist:
Modified: trunk/blender/release/scripts/ui/properties_animviz.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_animviz.py 2010-08-18 07:45:32 UTC (rev 31438)
+++ trunk/blender/release/scripts/ui/properties_animviz.py 2010-08-18 08:26:18 UTC (rev 31439)
@@ -32,7 +32,7 @@
def draw_settings(self, context, avs, bones=False):
layout = self.layout
- mps = avs.motion_paths
+ mps = avs.motion_path
layout.prop(mps, "type", expand=True)
Modified: trunk/blender/release/scripts/ui/properties_data_bone.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_data_bone.py 2010-08-18 07:45:32 UTC (rev 31438)
+++ trunk/blender/release/scripts/ui/properties_data_bone.py 2010-08-18 08:26:18 UTC (rev 31439)
@@ -225,68 +225,68 @@
split = layout.split(percentage=0.25)
split.prop(pchan, "ik_dof_x", text="X")
- split.active = pchan.has_ik
+ split.active = pchan.is_in_ik_chain
row = split.row()
row.prop(pchan, "ik_stiffness_x", text="Stiffness", slider=True)
- row.active = pchan.ik_dof_x and pchan.has_ik
+ row.active = pchan.ik_dof_x and pchan.is_in_ik_chain
split = layout.split(percentage=0.25)
sub = split.row()
sub.prop(pchan, "ik_limit_x", text="Limit")
- sub.active = pchan.ik_dof_x and pchan.has_ik
+ sub.active = pchan.ik_dof_x and pchan.is_in_ik_chain
sub = split.row(align=True)
sub.prop(pchan, "ik_min_x", text="")
sub.prop(pchan, "ik_max_x", text="")
- sub.active = pchan.ik_dof_x and pchan.ik_limit_x and pchan.has_ik
+ sub.active = pchan.ik_dof_x and pchan.ik_limit_x and pchan.is_in_ik_chain
split = layout.split(percentage=0.25)
split.prop(pchan, "ik_dof_y", text="Y")
- split.active = pchan.has_ik and pchan.has_ik
+ split.active = pchan.is_in_ik_chain and pchan.is_in_ik_chain
row = split.row()
row.prop(pchan, "ik_stiffness_y", text="Stiffness", slider=True)
- row.active = pchan.ik_dof_y and pchan.has_ik
+ row.active = pchan.ik_dof_y and pchan.is_in_ik_chain
split = layout.split(percentage=0.25)
sub = split.row()
sub.prop(pchan, "ik_limit_y", text="Limit")
- sub.active = pchan.ik_dof_y and pchan.has_ik
+ sub.active = pchan.ik_dof_y and pchan.is_in_ik_chain
sub = split.row(align=True)
sub.prop(pchan, "ik_min_y", text="")
sub.prop(pchan, "ik_max_y", text="")
- sub.active = pchan.ik_dof_y and pchan.ik_limit_y and pchan.has_ik
+ sub.active = pchan.ik_dof_y and pchan.ik_limit_y and pchan.is_in_ik_chain
split = layout.split(percentage=0.25)
split.prop(pchan, "ik_dof_z", text="Z")
- split.active = pchan.has_ik and pchan.has_ik
+ split.active = pchan.is_in_ik_chain and pchan.is_in_ik_chain
sub = split.row()
sub.prop(pchan, "ik_stiffness_z", text="Stiffness", slider=True)
- sub.active = pchan.ik_dof_z and pchan.has_ik
+ sub.active = pchan.ik_dof_z and pchan.is_in_ik_chain
split = layout.split(percentage=0.25)
sub = split.row()
sub.prop(pchan, "ik_limit_z", text="Limit")
- sub.active = pchan.ik_dof_z and pchan.has_ik
+ sub.active = pchan.ik_dof_z and pchan.is_in_ik_chain
sub = split.row(align=True)
sub.prop(pchan, "ik_min_z", text="")
sub.prop(pchan, "ik_max_z", text="")
- sub.active = pchan.ik_dof_z and pchan.ik_limit_z and pchan.has_ik
+ sub.active = pchan.ik_dof_z and pchan.ik_limit_z and pchan.is_in_ik_chain
split = layout.split()
split.prop(pchan, "ik_stretch", text="Stretch", slider=True)
split.label()
- split.active = pchan.has_ik
+ split.active = pchan.is_in_ik_chain
if ob.pose.ik_solver == 'ITASC':
split = layout.split()
col = split.column()
col.prop(pchan, "ik_rot_control", text="Control Rotation")
- col.active = pchan.has_ik
+ col.active = pchan.is_in_ik_chain
col = split.column()
col.prop(pchan, "ik_rot_weight", text="Weight", slider=True)
- col.active = pchan.has_ik
+ col.active = pchan.is_in_ik_chain
# not supported yet
#row = layout.row()
#row.prop(pchan, "ik_lin_control", text="Joint Size")
Modified: trunk/blender/release/scripts/ui/properties_data_curve.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_data_curve.py 2010-08-18 07:45:32 UTC (rev 31438)
+++ trunk/blender/release/scripts/ui/properties_data_curve.py 2010-08-18 08:26:18 UTC (rev 31439)
@@ -287,7 +287,7 @@
col = split.column()
col.label(text="Text on Curve:")
- col.prop(text, "text_on_curve", text="")
+ col.prop(text, "follow_curve", text="")
split = layout.split()
@@ -357,7 +357,7 @@
col.operator("font.textbox_add", icon='ZOOMIN')
col = split.column()
- for i, box in enumerate(text.textboxes):
+ for i, box in enumerate(text.text_boxes):
boxy = layout.box()
Modified: trunk/blender/release/scripts/ui/properties_data_modifier.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_data_modifier.py 2010-08-18 07:45:32 UTC (rev 31438)
+++ trunk/blender/release/scripts/ui/properties_data_modifier.py 2010-08-18 08:26:18 UTC (rev 31439)
@@ -687,7 +687,7 @@
if md.texture_coordinates == 'MAP_UV' and ob.type == 'MESH':
layout.prop_object(md, "uv_layer", ob.data, "uv_textures")
elif md.texture_coordinates == 'OBJECT':
- layout.prop(md, "texture_coordinates_object")
+ layout.prop(md, "texture_coords_object")
layout.separator()
Modified: trunk/blender/release/scripts/ui/properties_game.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_game.py 2010-08-18 07:45:32 UTC (rev 31438)
+++ trunk/blender/release/scripts/ui/properties_game.py 2010-08-18 08:26:18 UTC (rev 31439)
@@ -215,7 +215,7 @@
def draw(self, context):
layout = self.layout
- gs = context.scene.game_data
+ gs = context.scene.game_settings
layout.prop(gs, "show_fullscreen")
@@ -248,7 +248,7 @@
def draw(self, context):
layout = self.layout
- gs = context.scene.game_data
+ gs = context.scene.game_settings
stereo_mode = gs.stereo
# stereo options:
@@ -302,7 +302,7 @@
def draw(self, context):
layout = self.layout
- gs = context.scene.game_data
+ gs = context.scene.game_settings
layout.prop(gs, "material_mode", expand=True)
@@ -327,7 +327,7 @@
def draw(self, context):
layout = self.layout
- gs = context.scene.game_data
+ gs = context.scene.game_settings
split = layout.split()
@@ -454,7 +454,7 @@
def draw(self, context):
layout = self.layout
- gs = context.scene.game_data
+ gs = context.scene.game_settings
layout.prop(gs, "physics_engine")
if gs.physics_engine != 'NONE':
Modified: trunk/blender/release/scripts/ui/properties_particle.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_particle.py 2010-08-18 07:45:32 UTC (rev 31438)
+++ trunk/blender/release/scripts/ui/properties_particle.py 2010-08-18 08:26:18 UTC (rev 31439)
@@ -27,7 +27,7 @@
def particle_panel_enabled(context, psys):
- return (psys.point_cache.baked is False) and (not psys.edited) and (not context.particle_system_editable)
+ return (psys.point_cache.is_baked is False) and (not psys.edited) and (not context.particle_system_editable)
def particle_panel_poll(cls, context):
@@ -116,15 +116,15 @@
split = layout.split(percentage=0.65)
if part.type == 'HAIR':
- if psys.edited:
+ if psys.is_edited:
split.operator("particle.edited_clear", text="Free Edit")
else:
split.label(text="")
row = split.row()
row.enabled = particle_panel_enabled(context, psys)
row.prop(part, "hair_step")
- if psys.edited:
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list