Asset Pipeline v2 #145

Closed
Nick Alberelli wants to merge 431 commits from (deleted):feature/asset-pipeline-v2 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 11a4deecbc - Show all commits

View File

@ -257,8 +257,6 @@ def transfer_modifier(modifier_name, target_obj, source_obj):
{"object": target_obj, "active_object": target_obj}, {"object": target_obj, "active_object": target_obj},
modifier=mod.name, modifier=mod.name,
) )
if source_obj.animation_data is None:
return
fcurves = find_drivers(source_obj, 'modifiers', modifier_name) fcurves = find_drivers(source_obj, 'modifiers', modifier_name)
for fcurve in fcurves: for fcurve in fcurves:
copy_driver(from_fcurve=fcurve, target=target_obj) copy_driver(from_fcurve=fcurve, target=target_obj)
@ -328,8 +326,6 @@ def transfer_constraint(constraint_name, target_obj, source_obj):
new_target.target = target_item.target new_target.target = target_item.target
new_target.subtarget = target_item.subtarget new_target.subtarget = target_item.subtarget
if source_obj.animation_data is None:
return
fcurves = find_drivers(source_obj, 'constraints', constraint_name) fcurves = find_drivers(source_obj, 'constraints', constraint_name)
for fcurve in fcurves: for fcurve in fcurves: