Make scale applying more specific
This commit is contained in:
parent
4472d6f724
commit
44f33ac021
1
addon.py
1
addon.py
@ -370,6 +370,7 @@ class BlenderMCPServer:
|
|||||||
obj.data.name = name
|
obj.data.name = name
|
||||||
|
|
||||||
# Patch for PLANE: scale don't work with bpy.ops.mesh.primitive_plane_add()
|
# Patch for PLANE: scale don't work with bpy.ops.mesh.primitive_plane_add()
|
||||||
|
if type in {"PLANE"}:
|
||||||
obj.scale = scale
|
obj.scale = scale
|
||||||
|
|
||||||
# Return the object info
|
# Return the object info
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user