Revision: 18671
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18671
Author:   ianwill
Date:     2009-01-25 18:49:39 +0100 (Sun, 25 Jan 2009)

Log Message:
-----------
== 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.

Modified Paths:
--------------
    trunk/blender/source/blender/src/space.c

Modified: trunk/blender/source/blender/src/space.c
===================================================================
--- trunk/blender/source/blender/src/space.c    2009-01-25 17:08:56 UTC (rev 
18670)
+++ trunk/blender/source/blender/src/space.c    2009-01-25 17:49:39 UTC (rev 
18671)
@@ -1326,13 +1326,6 @@
                        }
                }
 
-#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) {


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to