Blender Git Commit Log

Git Commits -> Revision b7b2386

Revision b7b2386 by Nathan Craddock (soc-2020-outliner)
July 19, 2020, 03:49 (GMT)
Outliner: Add generic UI Stack drop operator

Replaces the modifier drop operator and works for modifiers,
constraints, and shader fx. Because these three elements share common
traits, it made the code simpler to combine the operator for all three.
Three types of actions are supported depending on where the element is
dropped:
* Drop within the same list to reorder.
* Drop on another object to copy.
* Drop the base (parent) element to link all to another object.

A few cases are yet unsupported but will be added to blenkernel.

Commit Details:

Full Hash: b7b2386cffca5cf75b0a2b49d8274621c5c674e4
Parent Commit: 7231cc5
Lines Changed: +215, -116

6 Modified Paths:

/source/blender/editors/include/ED_object.h (+5, -0) (Diff)
/source/blender/editors/object/object_constraint.c (+18, -5) (Diff)
/source/blender/editors/space_outliner/outliner_dragdrop.c (+187, -109) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+3, -0) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_ops.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021