Blender Git Commit Log

Git Commits -> Revision e5d4e0f

Revision e5d4e0f by Sergey Sharybin (master)
February 22, 2012, 07:56 (GMT)
Fix #30231: Drag and Droping Parenting from Outliner giving unnecessary Loop Error

In fact, error was much deeper and DND parenting in outliner used to parent all selected
objects to drop target, not just currently dragging object.

This was caused by code sharing between Parent Set operator and this DND operator which
was iterating all selected objects in scene and was setting parent to it.

Solved issue by separating actual parenting code which makes specified object be parented
to specified parent and moved iterating to Parent Set exec callback.

Now both of discovered issues (unneeded loop error and parenting all selected objects)
are solved, but more extensive testing of this changes are welcome.

Commit Details:

Full Hash: e5d4e0f69bab7ff7fd7df23a1790bba9c8adcf8d
SVN Revision: 44311
Parent Commit: 9ca3084
Lines Changed: +132, -111

3 Modified Paths:

/source/blender/editors/include/ED_object.h (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+112, -106) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+19, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021