Maniphest T25942

When a path is copied, both copies share the evaluation-time f-curve
Closed, Archived

Assigned To
Sergey Sharybin (sergey)
Authored By
Susan Humphries (shumphries)
Feb 4 2011, 9:29 PM
Tags
  • BF Blender
Subscribers
Joshua Leung (aligorith)
Rob Waite (vectorspace)
Sergey Sharybin (sergey)
Susan Humphries (shumphries)

Description

The attached .blend shows two bezier curves that I want to use as paths. One is copied from the other (using shift D). They seem to share the evaluation-time f-curve: I can't edit the f-curves so that objects following the two curves can move at different times. I'm running Blender 2.56.0 with Windows 7.

Event Timeline

Susan Humphries (shumphries) edited a custom field.Feb 4 2011, 9:29 PM
Susan Humphries (shumphries) attached 1 file(s): F17425: curve-problem2.blend.
Sergey Sharybin (sergey) added a comment.Feb 4 2011, 10:16 PM

In fact, it's a bit more general problem -- even when i'm copying object new instance uses the same animation data. This will take a while to investigate and fix.

Joshua Leung (aligorith) added a comment.Feb 4 2011, 11:29 PM

Does disabling the "Duplicate Action" option in the UserPrefs (under "Editing") help? If so, this is one of a set of defaults changes that have been pending for a while now.

Sergey Sharybin (sergey) added a comment.Feb 5 2011, 8:06 AM

I've enabled "Action" under "Duplicate data" and it doesn't help.
There's call of copy_libblock_data() in copy_libblock() and FALSE is always passed ad do_action parameter to this function. Maybe this parameter should depend on that userpref setting?

Joshua Leung (aligorith) added a comment.Feb 8 2011, 11:23 AM

Hmm... testing this myself here, it doesn't matter it the setting is enabled or not.

Joshua Leung (aligorith) added a comment.Feb 8 2011, 11:25 AM

EDIT: clarification - enabling "Action" under Duplicate data makes this work as expected here, while when this is off the original behaviour (annoying) is shown.

The setting I was referring to above was the FALSE arg in the copy_libblock() call.

Sergey Sharybin (sergey) added a comment.Feb 9 2011, 4:27 PM

Yep,it's all ok indeed. I've been confused because i've been duplicating object and moving it and then started animation playback. Of course, my two object was in the same location all time (original object has got animated location). But editing curves in NLA editor works fine.

This duplicate options could be set in default.blend, but this will happen at next version bump, i suppose. Just enable them in your user preferences, save setting and be happy :)

So, it's actually not a bug,. closing.

Sergey Sharybin (sergey) changed the task status from Unknown Status to Archived.Feb 9 2011, 4:27 PM