work
update amznchartools
This commit is contained in:
@@ -5,7 +5,7 @@ def add_body_masks():
|
||||
body_obj = bpy.data.objects.get('CC_Base_Body')
|
||||
if not body_obj:
|
||||
print("Error: CC_Base_Body object not found")
|
||||
return
|
||||
return {"success": False, "reason": "NO_BODY"}
|
||||
|
||||
print(f"Found body object: {body_obj.name}")
|
||||
|
||||
@@ -124,6 +124,8 @@ def add_body_masks():
|
||||
print("\nBody masking completed!")
|
||||
print("Main_Mask: Shows head, arms, and chest")
|
||||
print("Hand_Mask: Shows head, arms, chest, and hands")
|
||||
return {"success": True}
|
||||
|
||||
# Execute the operation
|
||||
add_body_masks()
|
||||
if __name__ == "__main__":
|
||||
# When run as a script, execute for side-effects and keep existing prints.
|
||||
add_body_masks()
|
||||
Reference in New Issue
Block a user