rna naming mainly for Scene/IK/KeyingSet's
This commit is contained in:
@@ -206,34 +206,34 @@ class DATA_PT_iksolver_itasc(ArmatureButtonsPanel, bpy.types.Panel):
|
||||
simulation = (itasc.mode == 'SIMULATION')
|
||||
if simulation:
|
||||
layout.label(text="Reiteration:")
|
||||
layout.prop(itasc, "reiteration", expand=True)
|
||||
layout.prop(itasc, "reiteration_method", expand=True)
|
||||
|
||||
split = layout.split()
|
||||
split.active = not simulation or itasc.reiteration != 'NEVER'
|
||||
split.active = not simulation or itasc.reiteration_method != 'NEVER'
|
||||
col = split.column()
|
||||
col.prop(itasc, "precision")
|
||||
|
||||
col = split.column()
|
||||
col.prop(itasc, "num_iter")
|
||||
col.prop(itasc, "iterations")
|
||||
|
||||
|
||||
if simulation:
|
||||
layout.prop(itasc, "auto_step")
|
||||
layout.prop(itasc, "use_auto_step")
|
||||
row = layout.row()
|
||||
if itasc.auto_step:
|
||||
row.prop(itasc, "min_step", text="Min")
|
||||
row.prop(itasc, "max_step", text="Max")
|
||||
if itasc.use_auto_step:
|
||||
row.prop(itasc, "step_min", text="Min")
|
||||
row.prop(itasc, "step_max", text="Max")
|
||||
else:
|
||||
row.prop(itasc, "num_step")
|
||||
row.prop(itasc, "step_count")
|
||||
|
||||
layout.prop(itasc, "solver")
|
||||
if simulation:
|
||||
layout.prop(itasc, "feedback")
|
||||
layout.prop(itasc, "max_velocity")
|
||||
layout.prop(itasc, "velocity_max")
|
||||
if itasc.solver == 'DLS':
|
||||
row = layout.row()
|
||||
row.prop(itasc, "dampmax", text="Damp", slider=True)
|
||||
row.prop(itasc, "dampeps", text="Eps", slider=True)
|
||||
row.prop(itasc, "damping_max", text="Damp", slider=True)
|
||||
row.prop(itasc, "damping_epsilon", text="Eps", slider=True)
|
||||
|
||||
from properties_animviz import MotionPathButtonsPanel, OnionSkinButtonsPanel
|
||||
|
||||
|
||||
@@ -354,10 +354,10 @@ class RENDER_PT_game_sound(RenderButtonsPanel, bpy.types.Panel):
|
||||
|
||||
scene = context.scene
|
||||
|
||||
layout.prop(scene, "distance_model")
|
||||
layout.prop(scene, "audio_distance_model")
|
||||
|
||||
layout.prop(scene, "speed_of_sound", text="Speed")
|
||||
layout.prop(scene, "doppler_factor")
|
||||
layout.prop(scene, "audio_doppler_speed", text="Speed")
|
||||
layout.prop(scene, "audio_doppler_factor")
|
||||
|
||||
|
||||
class WorldButtonsPanel():
|
||||
|
||||
@@ -249,7 +249,7 @@ class PHYSICS_PT_softbody_solver(PhysicButtonsPanel, bpy.types.Panel):
|
||||
col.label(text="Step Size:")
|
||||
col.prop(softbody, "minstep")
|
||||
col.prop(softbody, "maxstep")
|
||||
col.prop(softbody, "auto_step", text="Auto-Step")
|
||||
col.prop(softbody, "use_auto_step", text="Auto-Step")
|
||||
|
||||
col = split.column()
|
||||
col.prop(softbody, "error_limit")
|
||||
|
||||
@@ -96,8 +96,8 @@ class SCENE_PT_keying_sets(SceneButtonsPanel, bpy.types.Panel):
|
||||
|
||||
col = row.column()
|
||||
col.label(text="Keyframing Settings:")
|
||||
col.prop(ks, "insertkey_needed", text="Needed")
|
||||
col.prop(ks, "insertkey_visual", text="Visual")
|
||||
col.prop(ks, "use_insertkey_needed", text="Needed")
|
||||
col.prop(ks, "use_insertkey_visual", text="Visual")
|
||||
col.prop(ks, "use_insertkey_xyz_to_rgb", text="XYZ to RGB")
|
||||
|
||||
|
||||
@@ -138,8 +138,8 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel, bpy.types.Panel):
|
||||
|
||||
col = row.column()
|
||||
col.label(text="Array Target:")
|
||||
col.prop(ksp, "entire_array")
|
||||
if ksp.entire_array is False:
|
||||
col.prop(ksp, "use_entire_array")
|
||||
if ksp.use_entire_array is False:
|
||||
col.prop(ksp, "array_index")
|
||||
|
||||
col = row.column()
|
||||
@@ -149,8 +149,8 @@ class SCENE_PT_keying_set_paths(SceneButtonsPanel, bpy.types.Panel):
|
||||
col.prop(ksp, "group")
|
||||
|
||||
col.label(text="Keyframing Settings:")
|
||||
col.prop(ksp, "insertkey_needed", text="Needed")
|
||||
col.prop(ksp, "insertkey_visual", text="Visual")
|
||||
col.prop(ksp, "use_insertkey_needed", text="Needed")
|
||||
col.prop(ksp, "use_insertkey_visual", text="Visual")
|
||||
col.prop(ksp, "use_insertkey_xyz_to_rgb", text="XYZ to RGB")
|
||||
|
||||
|
||||
@@ -243,8 +243,8 @@ class ANIM_OT_keying_set_export(bpy.types.Operator):
|
||||
f.write("ks.is_path_absolute = False\n")
|
||||
f.write("\n")
|
||||
|
||||
f.write("ks.insertkey_needed = %s\n" % ks.insertkey_needed)
|
||||
f.write("ks.insertkey_visual = %s\n" % ks.insertkey_visual)
|
||||
f.write("ks.use_insertkey_needed = %s\n" % ks.use_insertkey_needed)
|
||||
f.write("ks.use_insertkey_visual = %s\n" % ks.use_insertkey_visual)
|
||||
f.write("ks.use_insertkey_xyz_to_rgb = %s\n" % ks.use_insertkey_xyz_to_rgb)
|
||||
f.write("\n")
|
||||
|
||||
@@ -292,7 +292,7 @@ class ANIM_OT_keying_set_export(bpy.types.Operator):
|
||||
f.write("%s, '%s'" % (id_bpy_path, ksp.data_path))
|
||||
|
||||
# array index settings (if applicable)
|
||||
if ksp.entire_array:
|
||||
if ksp.use_entire_array:
|
||||
f.write(", index=-1")
|
||||
else:
|
||||
f.write(", index=%d" % ksp.array_index)
|
||||
|
||||
@@ -46,8 +46,8 @@ class TIME_HT_header(bpy.types.Header):
|
||||
row.prop(scene, "frame_start", text="Start")
|
||||
row.prop(scene, "frame_end", text="End")
|
||||
else:
|
||||
row.prop(scene, "preview_range_frame_start", text="Start")
|
||||
row.prop(scene, "preview_range_frame_end", text="End")
|
||||
row.prop(scene, "frame_preview_start", text="Start")
|
||||
row.prop(scene, "frame_preview_end", text="End")
|
||||
|
||||
layout.prop(scene, "frame_current", text="")
|
||||
|
||||
@@ -176,10 +176,10 @@ class TIME_MT_playback(bpy.types.Menu):
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.prop(scene, "frame_drop", text="Frame Dropping")
|
||||
layout.prop(scene, "sync_audio", text="AV-sync", icon='SPEAKER')
|
||||
layout.prop(scene, "use_frame_drop", text="Frame Dropping")
|
||||
layout.prop(scene, "use_audio_sync", text="AV-sync", icon='SPEAKER')
|
||||
layout.prop(scene, "use_audio")
|
||||
layout.prop(scene, "scrub_audio")
|
||||
layout.prop(scene, "use_audio_scrub")
|
||||
|
||||
|
||||
class TIME_MT_autokey(bpy.types.Menu):
|
||||
|
||||
Reference in New Issue
Block a user