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 3c7e7e17fd - Show all commits

View File

@ -344,6 +344,13 @@ class ASSETPIPE_OT_reset_ownership(bpy.types.Operator):
"""Reset the Object owner and transfer data on selected object(s)"""
)
@classmethod
def poll(cls, context: bpy.types.Context) -> bool:
if len(context.selected_objects) == 0:
cls.poll_message_set("No Objects Selected")
return False
return True
def execute(self, context: bpy.types.Context):
objs = context.selected_objects
for obj in objs: