== Python: Space Handler Scriptlinks ==
Bugfix (patch #18216) I made a mistake on my previous try to fix this. I fixed something, tested, decided I should move the call to run spacehandlers to a better place, but missed removing the old call (ugh). Thanks Steven Truppe (rocketmagnet) for emailing me about it and for the patch.
This commit is contained in:
@@ -1326,13 +1326,6 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef DISABLE_PYTHON
|
||||
/* run any view3d event handler script links */
|
||||
if (event && sa->scriptlink.totscript)
|
||||
if (BPY_do_spacehandlers(sa, event, val, SPACEHANDLER_VIEW3D_EVENT))
|
||||
return; /* return if event was processed (swallowed) by handler(s) */
|
||||
#endif
|
||||
|
||||
/* TEXTEDITING?? */
|
||||
if((G.obedit) && G.obedit->type==OB_FONT) {
|
||||
switch(event) {
|
||||
|
||||
Reference in New Issue
Block a user