File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ def unregister():
158
158
bpy .types .TOPBAR_MT_file_import .remove (menu_func_import )
159
159
bpy .types .TOPBAR_MT_file_export .remove (menu_func_export )
160
160
bpy .types .VIEW3D_MT_armature_add .remove (menu_func_armature )
161
- bpy .types .VIEW3D_MT_object .append (menu_view3d_object )
161
+ bpy .types .VIEW3D_MT_object .remove (menu_view3d_object )
162
162
bpy .types .VIEW3D_HT_header .remove (header_view3d_pose_draw )
163
163
bpy .app .handlers .load_post .remove (load_handler )
164
164
properties .unregister ()
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ def setupFrameRanges():
8
8
ts , te = i .frame_range
9
9
s = min (s , ts )
10
10
e = max (e , te )
11
- bpy .context .scene .frame_start = s
12
- bpy .context .scene .frame_end = e
11
+ bpy .context .scene .frame_start = int ( s )
12
+ bpy .context .scene .frame_end = int ( e )
13
13
if bpy .context .scene .rigidbody_world is not None :
14
- bpy .context .scene .rigidbody_world .point_cache .frame_start = s
15
- bpy .context .scene .rigidbody_world .point_cache .frame_end = e
14
+ bpy .context .scene .rigidbody_world .point_cache .frame_start = int ( s )
15
+ bpy .context .scene .rigidbody_world .point_cache .frame_end = int ( e )
16
16
17
17
def setupLighting ():
18
18
bpy .context .scene .world .light_settings .use_ambient_occlusion = True
You can’t perform that action at this time.
0 commit comments