Hello, constraint_orientation
and proportional
are changed to orient_type
and use_proportional_edit
from TRANSFORM_OT_translate
in Blender 2.8 right? Strangely, after I changed the code, Blender 2.8 keeps crashing with Exception_access_violation error while Blender 2.79 version works fine.
error: Exception_access_violation
address: 0x00007FF615C3CE8
module: C:\Users\junew\Desktop\blender-2.80rc3-windows64\blender_2_80.exe
Here’s the new code:
bpy.ops.object.duplicate_move(
override, OBJECT_OT_duplicate={"linked":False, "mode":'TRANSLATION'},
TRANSFORM_OT_translate={"value":(0, 0, 0),
"constraint_axis":(False, False, False),
"orient_type":'GLOBAL', "mirror":False,
"use_proportional_edit":False, "proportional_edit_falloff":'SMOOTH',
"proportional_size":1, "snap":False, "snap_target":'CLOSEST',
"snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0),
"gpencil_strokes":False, "texture_space":False, "remove_on_cancel":False,
"release_confirm":False, "use_accurate":False})
Any idea why? Here’s the complete script.