Revision a68ceb0 by Sergey Sharybin January 29, 2014, 10:07 (GMT) |
Option to lock the interface while rendering Added function called WM_set_locked_interface which does two things: - Prevents event queue from being handled, so no operators (see below) or values are even possible to run or change. This prevents any kind of "destructive" action performed from user while rendering. - Locks interface refresh for regions which does have lock set to truth in their template. Currently it's just a 3D viewport, but in the future more regions could be considered unsafe, or we could want to lock different parts of interface when doing different jobs. This is needed because 3D viewport could be using or changing the same data as renderer currently uses, leading to threading conflict. Notifiers are still allowed to handle, so render progress is seen on the screen, but would need to doublecheck on this, in terms some notifiers could be changing the data. For now interface locking happens for render job only in case "Lock Interface" checkbox is enabled. Other tools like backing would also benefit of this option. It is possible to mark operator as safe to be used in locked interface mode by adding OPTYPE_ALLOW_LOCKED bit to operator template flags. This bit is completely handled by wm_evem_system, not with operator run routines, so it's still possible to run operators from drivers and handlers. Currently allowed image editor navigation and zooming. Reviewers: brecht, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D142 |
Revision 39eb314 by Campbell Barton January 29, 2014, 09:44 (GMT) |
UI: Refactor timecode functions into BLI_timecode - deduplicate timecode_simple_string from image.c - replace V2D_UNIT_SECONDSSEQ with V2D_UNIT_SECONDS - avoid possible buffer overflow bugs (sprintf -> BLI_snprintf) - remove option not to use timecode and split into 2 functions Patch D227 by Andrew Buttery with own refactoring. |
Revision f70d966 by Brecht Van Lommel January 28, 2014, 22:02 (GMT) |
Scons: refactor cycles kernel code to avoid building the AVX kernel with compilers that don't support it. CMake still needs to updated to work the same for consistency, but this should fix the OS X buildbot at least. |
Revision 52ea13e by Brecht Van Lommel January 28, 2014, 20:37 (GMT) |
Fix T37999: incorrect windows size with Visual Studio 2013 builds. This is a known bug in Windows, now work around it. https://bugreports.qt-project.org/browse/QTBUG-36192 http://connect.microsoft.com/VisualStudio/feedback/details/753224/regression-getsystemmetrics-delivers-different-values |
Revision ae46e8a by Campbell Barton January 28, 2014, 20:31 (GMT) |
RNA: add rna_space_api.c for space functions |
Revision 5643c29 by Campbell Barton January 28, 2014, 18:34 (GMT) |
Revision 8c688a0 by Campbell Barton January 28, 2014, 18:33 (GMT) |
File Reading: add wrapper function for WM_file_read also return cancelled when an operator fails to load a file |
Revision 39202a5 by Howard Trickey January 28, 2014, 18:20 (GMT) |
Bevel: fix glitch in "pipe" case with square profile. The "pipe" case -- where two beveled edges are in line and there is at least one more beveled edge -- needed better handling when profile parameter = 1.0 (square outward). |
Revision 84f9587 by Martijn Berger January 28, 2014, 17:40 (GMT) |
Cuda use streams and async to avoid busywaiting This is my first stab at this and is based on this IRC converstation: <mib2berlin> brecht: this is meaning as reminder only, I know you have other things to do > http://openvidia.sourceforge.net/index.php/Optimization_Notes#avoiding_busy_waits <brecht> mib2berlin: thanks, bookmarked only tested on Ubuntu 14.04 / cuda 5.0 but ill do some more testing tomorrow. Also unsure about the placement and the lifetime of the stream and the event. But creating / deleting these seems to incur a non trivial cost. Reviewers: brecht Reviewed By: brecht CC: mib2berlin, dingto Differential Revision: https://developer.blender.org/D262 |
Revision abf1803 by Campbell Barton January 28, 2014, 17:10 (GMT) |
Fix T38383: glitch drawing inactive slider |
Revision d34d745 by Campbell Barton January 28, 2014, 16:39 (GMT) |
Viewport Drawing: apply matcaps to all objects |
Revision 90ff9d7 by Campbell Barton January 28, 2014, 16:38 (GMT) |
Code cleanup: remove check for painting non-mesh objects (its impossible) |
Revision aa51f49 by Sergey Sharybin January 28, 2014, 16:14 (GMT) |
Fix unused variable in the right way It IS to be used :) |
Revision 22e915e by Campbell Barton January 28, 2014, 15:55 (GMT) |
Code cleanup: unused var |
Revision 9a1dcfb by Campbell Barton January 28, 2014, 15:54 (GMT) |
Fix T38367: operators activated from popups didnt reuse settings |
Revision a283b09 by Campbell Barton January 28, 2014, 15:20 (GMT) |
Code cleanup: pep8 |
Revision deab0d1 by Brecht Van Lommel January 28, 2014, 15:15 (GMT) |
Fix T38381, Fix T38184: key events getting lost when modal operator is running. There is a hack for modal keymaps and double click events, which was (ab)using the wmEvent.prevval variable to temporarily assign it KM_DBL_CLICK indicating that the double click event was disabled. However the value of prevval can actually be KM_DBL_CLICK in other circumstances too, which caused a key press event to get converted to a double click event. |
Revision 4683ac3 by Tamito Kajiyama January 28, 2014, 14:34 (GMT) |
Fix for a typo reported by flokkievids through code review comments D163#1. |
Revision 0b22827 by Tamito Kajiyama January 28, 2014, 14:34 (GMT) |
Moved the Operators class from the 'freestyle' module to the 'freestyle.types' submodule. |
Revision e847328 by Tamito Kajiyama January 28, 2014, 14:34 (GMT) |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021