diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2009-12-02 03:57:12 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2009-12-02 03:57:12 +0300 |
commit | 5a3791ab5b2274fffde961bd01c75bacee74f634 (patch) | |
tree | 791cc3cf69436b91d82efbd292a4f3375e617bff /tools/btools.py | |
parent | d86a27f7b6d7b226d7369f17df6bcc3f24325e73 (diff) |
Apply patch [#20145] Ghost Win32 roundup patch: Minimum Window Size, Continuous Grab and Drag And Drop
This nice patch by Matt D. (matd in #blendercoders) adds three nice features that can be seen already in the other supported OSes:
* minimum window size: to prevent some bugs with the window manager of Blender, system windows cannot be resized smaller than the minimum size.
* Continuous Grab is finally in Windows! Default settings since alpha 0 already have the feature enabled by default, so grab a new build and enjoy :)
* GHOST support for drag and drop added. This prepares Blender for drag and drop from OS -> Blender. Currently not very useful, since wm needs to be readied for that. But it does work (do BF_GHOST_DEBUG=1 build and drag a file onto a Blender window).
Thanks Matt D.!
Diffstat (limited to 'tools/btools.py')
-rwxr-xr-x | tools/btools.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/btools.py b/tools/btools.py index e34ee05fbe7..f010a82fd6a 100755 --- a/tools/btools.py +++ b/tools/btools.py @@ -75,6 +75,7 @@ def validate_arguments(args, bc): 'BF_MSVS', 'WITH_BF_FHS', 'BF_VERSION', + 'BF_GHOST_DEBUG' ] # Have options here that scons expects to be lists @@ -418,8 +419,9 @@ def read_opts(cfg, args): (BoolVariable('WITH_BF_FHS', 'Use the Unix "Filesystem Hierarchy Standard" rather then a redistributable directory layout', False)), ('BF_VERSION', 'The root path for Unix (non-apple)', '2.5'), - (BoolVariable('BF_UNIT_TEST', 'Build with unit test support.', False)) - + (BoolVariable('BF_UNIT_TEST', 'Build with unit test support.', False)), + + (BoolVariable('BF_GHOST_DEBUG', 'Make GHOST print events and info to stdout. (very verbose)', False)) ) # end of opts.AddOptions() return localopts |