[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26419] trunk/blender/source/blender/ editors/space_file/file_draw.c: Added a comment in the code about a timer that is not being freed and

Brecht Van Lommel brecht at blender.org
Sat Jan 30 10:17:32 CET 2010


Revision: 26419
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26419
Author:   blendix
Date:     2010-01-30 10:17:32 +0100 (Sat, 30 Jan 2010)

Log Message:
-----------
Added a comment in the code about a timer that is not being freed and
is causing the smooth view operator to run all the time after closing
the file browser, since I can't think of a good way to fix it at the
moment.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_file/file_draw.c

Modified: trunk/blender/source/blender/editors/space_file/file_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_file/file_draw.c	2010-01-30 09:14:12 UTC (rev 26418)
+++ trunk/blender/source/blender/editors/space_file/file_draw.c	2010-01-30 09:17:32 UTC (rev 26419)
@@ -623,6 +623,8 @@
 		}
 	}
 
+	/* XXX this timer is never removed, cause smooth view operator
+	   to get executed all the time after closing file browser */
 	if (!sfile->loadimage_timer)
 		sfile->loadimage_timer= WM_event_add_timer(CTX_wm_manager(C), CTX_wm_window(C), TIMER1, 1.0/30.0);	/* max 30 frames/sec. */
 	





More information about the Bf-blender-cvs mailing list