Age | Commit message (Collapse) | Author |
|
Convert buffer to index in one loop,
also minor cleanup to backbuf/selection functions.
- Use IMB_rectcpy instead of inline pixel copy.
- Redundant WM_framebuffer_to_index call.
|
|
|
|
for them.
|
|
We already had that for global keymaps (used e.g. to generate shortcuts for menu entries),
but this wasn’t possible for modal keymaps yet (e.g. help message in header during
transforms and other modal operation).
This commit only adds needing background code, it does not change anything from user PoV.
Modal operators will be updated to use it in comming weeks.
Thanks to Campbell for revisions & suggestions. :)
Differential Revision: https://developer.blender.org/D780
|
|
option.
This makes sense, since contexts get created at runtime, there is little
reason to require recompilation for this.
Only works on linux currently, will be doing more OSs later
|
|
|
|
D1344 with edits
|
|
|
|
readable
|
|
Noisy and annoying with new gcc5...
|
|
|
|
|
|
some 3d methods change the window arrangment, thus they shouldn't
toggle on/off just because there is no 3d elements being drawn
The optimized solution would be to draw only the left eye in those
cases, but there is some issue going on with that, so this commit will
do for now.
|
|
|
|
|
|
|
|
* Allows sound playback for movies
* Allow play-pause with space button
* Allow displaying a position indicator with the I button
|
|
Not sure where this sneaked in, but we for sure need a valid context (otherwise
we'd need to pass a Main alog too).
This is to be backported to final 2.75.
|
|
|
|
|
|
ED_screen_duplicate() was never written to support non-fullscreen modes.
This is prior to the hidden ui fullscreen commit, and it's quite ancient
in Blender's code (since Jan/08 - 1363134d)
That's why duplicate window, and new screen operators are disabled when
screen is full.
|
|
Window copy code made it hard to test fixes.
|
|
|
|
result
Was a case of two stacked temporary fullscreens, so a quite extreme
situation.
|
|
It could still crash if the window was freed and another was activated. see T44688.
|
|
save time.
We do not use that size of preview anymore, only THB_LARGE...
|
|
Add support for walk mode /w absolute pointing devices.
|
|
|
|
It was possible to perform actions while performing a drag-toggle.
|
|
|
|
If an operator starts outside an area, don't use warping.
(problematic for menu's).
|
|
|
|
|
|
|
|
Tweak event was being added to the end of the event queue (out of order),
meaning any mouse releases already in the queue wouldn't be used to exit the gesture.
Gestures could get stuck (mostly when the system wasn't able to handle events fast enough).
Now tweak events are now added in order.
|
|
|
|
Was cache referencing deleted or NULL items.
Reported by Kopias on irc
|
|
|
|
Mistakes in button expressions were previously only printed to the console.
|
|
|
|
|
|
Also enable this for headless builds too.
Calling UI_icons_init would initialize matcaps, brushes etc...
|
|
We want this even without UI, some scripts may use it in a background processing
mode to avoid too heavy process in actual 'user' blender...
|
|
Holds 30 frames in memory. Could make it check memory instead but that
should suffice for now to make sure blender does not crash on me with
movie files.
Previously the system would load eveything in memory so something like
playing caminandes in player would swap after 30 seconds in local
computer.
|
|
Some of them are just brain dead code, some are potential bugs.
|
|
|
|
Percentage properties use interaction like factors with number feedback
and easier way to go predict lower percentages.
|
|
This commit mainly:
* Exposes PreviewImage struct in RNA, including ways for user to set images data.
* Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image.
* Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system.
* Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons.
Note that loading image from files' thumbnails is done when needed (deferred loading), not
when defining the custom preview/icon.
WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level.
We do not want our UI to explode under hundreds of different flashy icons!
For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons)
and the example/templates featured with Blender.
Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29).
Differential Revision: https://developer.blender.org/D1255
|
|
|
|
|