Blender Git Commit Log

Git Commits -> Revision d6891d9

Revision d6891d9 by Henrik Dick (master)
August 12, 2021, 12:24 (GMT)
Add Extras Dropdown Menu to Constraints

Add Apply Constraint, Duplicate Constraint, and Copy To Selected
operators, and include them in a menu similar to the menu for modifiers.
The shortcuts in the extras menu are also matched to modifiers.

All the here added operators are intended to work exactly like the
analogous ones for modifiers. That means the apply operator should apply
a constraint as if it was first in the list, just like modifiers do. I
have added the same warning message as for modifiers when that happens.

The decision to use this approach of appling the constraint as if it was
first, was made for consistency with modifiers. People are already used
to how it works there. Is also provides more intricate control over the
applied transforms, then just applying all constraints up to that one.
Apply all constraints is already kinda implemented in Bake Animation.

Reviewed By: HooglyBoogly, sybren, #user_interface

Differential Revision:

Commit Details:

Full Hash: d6891d9bee2bd2073cb45e1ac9a04b2f03f05a9a
Parent Commit: 215734b
Committed By: Sybren A. Stüvel
Lines Changed: +543, -20

10 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/ (+2, -0) (Diff)
/release/scripts/presets/keyconfig/keymap_data/ (+1, -0) (Diff)
/source/blender/blenkernel/BKE_constraint.h (+22, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+105, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_extra.c (+2, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+81, -13) (Diff)
/source/blender/editors/object/object_constraint.c (+318, -6) (Diff)
/source/blender/editors/object/object_intern.h (+3, -0) (Diff)
/source/blender/editors/object/object_ops.c (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021