2026-02-16
This commit is contained in:
@@ -558,7 +558,7 @@ class ANIMTOOLBOX_PT_Display(ANIMTOOLBOX_PT_Panel, bpy.types.Panel):
|
||||
row = box.row()
|
||||
row.prop(emp, 'frame_start', text = 'Start')
|
||||
row.prop(emp, 'frame_end', text = 'End')
|
||||
# row.operator("anim.markers_bakerange", icon = 'MARKER', text ='', depress = scene.animtoolbox.bake_frame_range)
|
||||
row.operator("anim.emp_markers_range", icon = 'MARKER', text ='', depress = scene.emp.marker_frame_range)
|
||||
|
||||
elif emp.frame_range == 'AROUND':
|
||||
row = box.row()
|
||||
@@ -596,8 +596,33 @@ class ANIMTOOLBOX_PT_Display(ANIMTOOLBOX_PT_Panel, bpy.types.Panel):
|
||||
row = box.row()
|
||||
row.prop(emp, 'display_frames', text = 'Display Keyframe Numbers')
|
||||
row.separator()
|
||||
box = layout.box()
|
||||
split = box.split(factor = 0.35)
|
||||
split.label(text = 'Channels')
|
||||
split.prop(emp, 'channels', text ='')
|
||||
row = box.row()
|
||||
row.operator('anim.go_to_keyframe')
|
||||
if bpy.app.version >= (4, 2, 0):
|
||||
row.prop(emp, 'camera_space', icon = 'CON_CAMERASOLVER')
|
||||
#row = box.row()
|
||||
row.prop(emp, 'cursor_offset', icon = 'PIVOT_CURSOR')
|
||||
box.separator(factor = 0.05)
|
||||
row = box.row()
|
||||
row.operator('anim.go_to_keyframe', icon = 'NEXT_KEYFRAME')
|
||||
box.separator(factor = 0.05)
|
||||
# split = box.split(factor = 0.75)
|
||||
row = box.row()
|
||||
row.prop(emp, 'select_circle', text = 'Selection Brush', icon = 'MESH_CIRCLE')
|
||||
row = box.row()
|
||||
prop_edit_icon = 'PROP_ON' if emp.prop_edit else 'PROP_OFF'
|
||||
row.prop(emp, 'prop_edit', text = 'Proportional Editing', icon = prop_edit_icon)
|
||||
row.prop(emp, 'smooth', text = 'Smooth', icon = 'MOD_SMOOTH')
|
||||
row = box.row()
|
||||
if emp.prop_edit:
|
||||
row.prop(emp, 'prop_edit_falloff', text = '')
|
||||
row.prop(emp, 'radius', text = '')
|
||||
elif emp.smooth:
|
||||
row.prop(emp, 'smooth_strength', text = '')
|
||||
row.prop(emp, 'radius', text = '')
|
||||
# row = box.row()
|
||||
# row.prop(context.preferences.addons[__package__].preferences, 'keyframes_range', text = 'Keyframe Distance Range')
|
||||
# if context.object is None:
|
||||
|
||||
Reference in New Issue
Block a user