Blender Git Commit Log

Git Commits -> Revision 8e4c742

Revision 8e4c742 by Julian Eisel (master)
May 24, 2020, 14:14 (GMT)
Fix T77000: Preferences window can not be opened from script operator

The operators to open the Preferences, Driver Editor, or Info Log window did
not work when executed from another operator or the Python console. Should work
for all of these now.

I considered using operator properties instead, so the position could be set by
a script, with some fallback (e.g. current window center). But decided that's
not really worth the boilerplate and decreased code readability. Can still be
done if there's a need for it.

Commit Details:

Full Hash: 8e4c74292a76b7e22aafb63c65d474fa9d886001
Parent Commit: f43bb98
Lines Changed: +15, -6

1 Modified Path:

/source/blender/editors/screen/screen_ops.c (+15, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021