Made python scripts save and load in the blend file so you can have the same scripts running when you open a blend file.
Also scripts will re-run on undo rather then closing. This is done by saving and loading the name of the script or textblock of the 'Script' datablock, connected to the ScriptSpace. This way when there is a name but the script dosnt run. Blender runs the script or text block if available.
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
#include "BKE_main.h"
|
||||
#include "BKE_object.h" /* for during_script() and during_scriptlink() */
|
||||
#include "BKE_scene.h" /* scene_find_camera() */
|
||||
#include "BPI_script.h"
|
||||
#include "BIF_mywindow.h"
|
||||
#include "BIF_imasel.h"
|
||||
#include "BSE_headerbuttons.h"
|
||||
|
||||
Reference in New Issue
Block a user