kopia lustrzana https://github.com/vilemduha/blendercam
Merge remote-tracking branch 'origin/master'
commit
20b2e7c3ae
|
|
@ -212,6 +212,9 @@ class CalculatePath(bpy.types.Operator):
|
|||
o = s.cam_operations[s.cam_active_operation]
|
||||
ob = bpy.data.objects[o.object_name]
|
||||
ob.hide_set(False)
|
||||
if o.strategy=="CARVE":
|
||||
curvob=bpy.data.objects[o.curve_object]
|
||||
curvob.hide_set(False)
|
||||
print(bpy.context.mode)
|
||||
if bpy.context.mode != 'OBJECT':
|
||||
bpy.ops.object.mode_set(mode = 'OBJECT') #force object mode
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue