RNA/Py API
change how data is added. eg. bpy.data.add_mesh(name) --> bpy.data.meshes.new(name) bpy.data.remove_lamp(lamp) --> bpy.data.lamps.remove(lamp) image and texture stil use add_* funcs
This commit is contained in:
@@ -60,10 +60,7 @@ class NLA_MT_view(bpy.types.Menu):
|
||||
layout.separator()
|
||||
layout.prop(st, "show_cframe_indicator")
|
||||
|
||||
if st.show_seconds:
|
||||
layout.operator("anim.time_toggle", text="Show Frames")
|
||||
else:
|
||||
layout.operator("anim.time_toggle", text="Show Seconds")
|
||||
layout.operator("anim.time_toggle", text="Show Frames" if st.show_seconds else "Show Seconds")
|
||||
|
||||
layout.prop(st, "show_strip_curves")
|
||||
|
||||
|
Reference in New Issue
Block a user