kopia lustrzana https://github.com/vilemduha/blendercam
rodzic
52a3f7eea5
commit
8a414ce329
|
|
@ -66,7 +66,7 @@ SHAPELY = True
|
||||||
|
|
||||||
def positionObject(operation):
|
def positionObject(operation):
|
||||||
ob = bpy.data.objects[operation.object_name]
|
ob = bpy.data.objects[operation.object_name]
|
||||||
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='MEDIAN')
|
bpy.ops.object.origin_set(type='ORIGIN_GEOMETRY', center='BOUNDS')
|
||||||
ob.select_set(True)
|
ob.select_set(True)
|
||||||
bpy.context.view_layer.objects.active = ob
|
bpy.context.view_layer.objects.active = ob
|
||||||
|
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue