mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 13:04:56 +00:00
Minor Blender 3.0 fixes, add ability to override blender in metaforce-gui
This commit is contained in:
@@ -176,13 +176,13 @@ class SACTAction_load(bpy.types.Operator):
|
||||
bpy.context.scene.render.frame_map_old = action_obj.hecl_fps
|
||||
bpy.context.scene.render.frame_map_new = 60
|
||||
bpy.context.scene.frame_start = 0
|
||||
bpy.context.scene.frame_end = action_obj.frame_range[1] * (60 / action_obj.hecl_fps)
|
||||
bpy.context.scene.frame_end = int(action_obj.frame_range[1] * (60 / action_obj.hecl_fps))
|
||||
else:
|
||||
bpy.context.scene.render.fps = action_obj.hecl_fps
|
||||
bpy.context.scene.render.frame_map_old = action_obj.hecl_fps
|
||||
bpy.context.scene.render.frame_map_new = action_obj.hecl_fps
|
||||
bpy.context.scene.frame_start = 0
|
||||
bpy.context.scene.frame_end = action_obj.frame_range[1]
|
||||
bpy.context.scene.frame_end = int(action_obj.frame_range[1])
|
||||
|
||||
# Events
|
||||
#SACTEvent.clear_action_events(self, context, actor_data)
|
||||
|
||||
Reference in New Issue
Block a user