[Bf-committers] Make Parent - shouldn't it work differently?
Bartek Skorupa (priv)
bartekskorupa at bartekskorupa.com
Fri Sep 21 11:51:29 CEST 2012
Yes, yes, I know… I made a mistake:
it should be:
if c != active:
:-)
Bartek Skorupa
www.bartekskorupa.com
On 21 wrz 2012, at 11:49, Bartek Skorupa (priv) <bartekskorupa at bartekskorupa.com> wrote:
> In order to get "proper" parenting I use a little script:
>
>
> active = bpy.context.active_object
> selected = boy.context.selected_objects
> for c in selected:
> if c =! active:
> m = c.matrix_world
> c.parent = active
> c.matrix_world = m
>
>
> This gives me the behavior that I'd like to have under Ctl-P
>
>
> The behavior that I'd like to have under Shift-Ctl-P would be this:
>
>
> active = bpy.context.active_object
> selected = boy.context.selected_objects
> for c in selected:
> if c =! active:
> c.parent = active
>
>
> Cheers
> Bartek Skorupa
>
> www.bartekskorupa.com
>
> On 21 wrz 2012, at 11:08, Remigiusz Fiedler <migius at gmx.net> wrote:
>
>> oops, haven't read your post to the end
>>
>>> There is of-course the option to parent objects using Shift-Ctl-P. This creates
>>> proper relation between "A"'s transform properties and its visual transformations,
>>> but it as well moves "A" to "B"'s location and it's not always the desired result.
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
More information about the Bf-committers
mailing list