add margin to view fitting view-all/local-view (wasn't obvious with the models I was testing with).
This commit is contained in:
@@ -9,6 +9,6 @@ filename = "my_script.py"
|
||||
|
||||
filepath = os.path.join(os.path.dirname(bpy.data.filepath), filename)
|
||||
global_namespace = {"__file__": filepath, "__name__": "__main__"}
|
||||
file_handle = open(filepath, 'rb')
|
||||
exec(compile(file_handle.read(), filepath, 'exec'), global_namespace)
|
||||
file_handle.close()
|
||||
file = open(filepath, 'rb')
|
||||
exec(compile(file.read(), filepath, 'exec'), global_namespace)
|
||||
file.close()
|
||||
|
Reference in New Issue
Block a user