March 5, 2021, 11:50 (GMT) |
Fix T86293: crash undoing after executing the python console in certain scenarios In general, I could not find a reason executing from the python console should not do an Undo push. Running a script from the Text Editor does this as well and this seems generally useful. Without an Undo push, one can easily run into situations were IDs have been added or removed and undo on would then cause trouble (e.g. first selection then bpy.ops.object.duplicate() -- this crashed as reported in T86293 -- duplicate does not get its own undo push because it is not the last op in the list, wm->op_undo_depth is not zero). This has changed with the Undo refactor, so in essence the root cause is the same as T77557, Legacy Undo does not suffer from the crash (but misses the generally useful undo push from the console still) Now add Undo to CONSOLE_OT_execute bl_options ('UNDO_GROUPED' seems more appropriate than plain 'UNDO' since pasting multiple lines of code will call CONSOLE_OT_execute multiple times in a row). Maniphest Tasks: T86293 Differential Revision: https://developer.blender.org/D10625 |
March 5, 2021, 11:14 (GMT) |
Merge remote-tracking branch 'origin/master' into lanpr-under-gp |
March 5, 2021, 11:11 (GMT) |
Alembic procedural: fix infinite update loop when modifying an object property |
March 5, 2021, 10:38 (GMT) |
support drawing ints |
March 5, 2021, 10:35 (GMT) |
initial python spreadsheet |
March 5, 2021, 10:30 (GMT) |
Cleanup: remove redundant NULL window checks handling events |
March 5, 2021, 09:36 (GMT) |
Cleanup: Use boolean in WM_cursor_wait |
March 5, 2021, 09:25 (GMT) |
Merge branch 'master' into temp-gpencil-bezier-v2 |
Revision 381e2d4 by Jacques Lucke (temp-spreadsheet-editor, temp-spreadsheet-editor-python-prototyping) March 5, 2021, 09:22 (GMT) |
Merge branch 'master' into temp-spreadsheet-editor |
March 5, 2021, 09:12 (GMT) |
LibOverride: auto-run resync process on file reading. |
March 5, 2021, 09:12 (GMT) |
LibOverride: Add second part of auto-resync code. `BKE_lib_override_library_main_resync` uses `LIB_TAG_LIB_OVERRIDE_NEED_RESYNC` tags set by RNA override apply code, and perform detection for the remaining cases (those were new overrides need to be created for data that was not present before in the library). And then it actually resync all needed local overrides. |
March 5, 2021, 09:12 (GMT) |
LibOverride: First stage of detection of 'need resync'. We can fairly easily detect some resync-needed cases when applying the overrides operations on a Pointer RNA property. This should cover all cases where an existing override's ID pointer is changed in its linked data. We still have to add code to detect when a not-yet-overridden linked ID needs to become overridden (because its relations to other data-blocks changed in a way that requires it). |
March 5, 2021, 09:12 (GMT) |
LibOverride: Do not delete no-more-used overrides during resync if they are user-edited. Ultimately those will be listed with a special icon in the upconning Outliner overrides view. |
March 5, 2021, 09:12 (GMT) |
LibOverride: Add a utils to check if override has been user-edited. |
March 5, 2021, 08:48 (GMT) |
Cleanup: Sync header+implementaiton definition. Gave warning on Windows platform. There are more of these cases. |
March 5, 2021, 08:33 (GMT) |
Cycles: Fix assert in tile manager Was caused by the recent deletion of tile order. Need to use tile order which is friendly for viewport rendering. |
March 5, 2021, 08:33 (GMT) |
Cycles: Bring progress report back Is a bit weird mixture of Progress object and a callback. The idea is that Progress object is used to communicate progress within the current big tile from PathTrace to owner of the progress object. The callback is called after that, so that the (in this case) Session can assemble full status and report it to the interface. On a positive side the cancel callback becomes unneeded. |
March 5, 2021, 06:10 (GMT) |
Cleanup: move check_drag & check_click out of wmEvent These variables track the wmWindow.event_queue state, however they were used in a way that wasn't correct. - check_drag & check_click from wmWindow.eventstate were used to track the click/drag status of events handled in wmWindow.event_queue. - Event's in the queue read from wmEvent.check_drag. - Once a drag action was detected, wmWindow.eventstate.check_drag was disabled. Disabling drag in the event state would not change the drag state for values already in the event queue. Simplify logic by moving these values into the window, so there is one place these variables are tracked. |
March 5, 2021, 06:10 (GMT) |
UI: minor changes to preset sorting - Only sort by the preset name (not it's directory). - Remove redundant string conversion. - Only call lower() once on the input. - Don't assign the lambda to a variable for single use. |
March 5, 2021, 04:22 (GMT) |
UI: Add Presets for high framerate video It is quite common to high framerate video with modern cameras. To make it easier to edit this footage new framerate presets are added and the soft limit increased. Note there is a bug with preset ordering, Blender thinks "120" goes before "24" this bug needs to be fixed before these changes can be merged. Differential Revision: https://developer.blender.org/D10553 |
|
|
|


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