Make scale applying more specific
This commit is contained in:
parent
4472d6f724
commit
44f33ac021
3
addon.py
3
addon.py
@ -370,7 +370,8 @@ 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()
|
||||||
obj.scale = scale
|
if type in {"PLANE"}:
|
||||||
|
obj.scale = scale
|
||||||
|
|
||||||
# Return the object info
|
# Return the object info
|
||||||
result = {
|
result = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user