Keyframe Defaults and Cleanups:
This commit fixes reports #21638 and #21818, which were both also Durian feature requests. Cbanges: * Added new default setting for the type of handles created when creating keyframes. This can be found in the user-preferences, and is used whenever existing keyframes aren't being overwritten (instead of the value being always taken from the keyframes either side, #21638). * When keyframing over existing keyframes, only the values will be changed. The handles will be offset by the same amount that the value of the keyframe changed, though how well this works in practice still needs to be tested more thoroughly (#21818, already fixed earlier, but this commit is the full fix). * When 'free' handles are added by default, they are offset to be +/- 1 frame on either side of the keyframe so that it is obvious that they can be moved. However, they just take the same value of the keyframe since this is easiest. * Properly initialising handle colour defaults for 3D-View and Graph Editor. Graph Editor's theme userprefs also show these settings now, though the layout is really quick hack-style.
This commit is contained in:
@@ -371,7 +371,8 @@ class USERPREF_PT_edit(bpy.types.Panel):
|
||||
col.separator()
|
||||
|
||||
col.label(text="New F-Curve Defaults:")
|
||||
col.prop(edit, "new_interpolation_type", text="Interpolation")
|
||||
col.prop(edit, "keyframe_new_interpolation_type", text="Interpolation")
|
||||
col.prop(edit, "keyframe_new_handle_type", text="Handles")
|
||||
col.prop(edit, "insertkey_xyz_to_rgb", text="XYZ to RGB")
|
||||
|
||||
col.separator()
|
||||
@@ -707,14 +708,24 @@ class USERPREF_PT_theme(bpy.types.Panel):
|
||||
col.prop(graph, "active_channels_group")
|
||||
col.prop(graph, "dopesheet_channel")
|
||||
col.prop(graph, "dopesheet_subchannel")
|
||||
col.prop(graph, "vertex")
|
||||
col.prop(graph, "frame_current")
|
||||
|
||||
col = split.column()
|
||||
col.prop(graph, "frame_current")
|
||||
col.prop(graph, "vertex")
|
||||
col.prop(graph, "handle_vertex")
|
||||
col.prop(graph, "handle_vertex_select")
|
||||
col.separator()
|
||||
col.prop(graph, "handle_vertex_size")
|
||||
col.separator()
|
||||
col.separator()
|
||||
col.prop(graph, "handle_free")
|
||||
col.prop(graph, "handle_auto")
|
||||
col.prop(graph, "handle_vect")
|
||||
col.prop(graph, "handle_align")
|
||||
col.prop(graph, "handle_sel_free")
|
||||
col.prop(graph, "handle_sel_auto")
|
||||
col.prop(graph, "handle_sel_vect")
|
||||
col.prop(graph, "handle_sel_align")
|
||||
|
||||
elif theme.theme_area == 'FILE_BROWSER':
|
||||
file_browse = theme.file_browser
|
||||
|
Reference in New Issue
Block a user