Refactor and Copy Paste Casting
This commit is contained in:
+7
-3
@@ -5,9 +5,13 @@ Generic Blender functions
|
||||
|
||||
import bpy
|
||||
|
||||
def get_settings():
|
||||
return bpy.context.window_manager.vsetb_settings
|
||||
|
||||
def get_scene_settings():
|
||||
return bpy.context.scene.vsetb_settings
|
||||
|
||||
def get_strip_settings():
|
||||
scn = bpy.context.scene
|
||||
return scn.sequence_editor.active_strip.vsetb_strip_settings
|
||||
|
||||
def get_bl_cmd(blender=None, background=False, focus=True, blendfile=None, script=None, **kargs):
|
||||
cmd = [str(blender)] if blender else [bpy.app.binary_path]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user