June 3, 2020, 10:07 (GMT) |
Undo: Detect/find proper memchunk for a given ID during undo step writing. Most of the time current (based on order) system works fine, but when you add or rename (i.e. re-sort) some ID, every data/memchunk afterwards would be out of sync and hence re-stored in memory (and reported as changed). Now we are storing the ID's session_uuid in the memchunks, which allows to actually always find the first memchunk for an already existing ID stored in previous undo steps, and compare the right memory. Note that current, based-on-order system is still used almost all of the time, search in the new ghash is only performed for a few data-blocks (when needed at all). Reviewed By: brecht Maniphest Tasks: T60695 Differential Revision: https://developer.blender.org/D7877 |
June 3, 2020, 10:06 (GMT) |
Undo write optimizations: Final cleanups and some comments. |
June 3, 2020, 09:18 (GMT) |
Merge branch 'master' into undo-write |
June 3, 2020, 09:18 (GMT) |
RNA: add option to enable by default lib overridale flag of defined properties. Similar to the one allowing to deactivate DNA check, etc. Will helps reduce verbosity when making many new properties overridable. Note that pointer properties always remain non-overridable by default, since basically only ID pointers should be. Reviewed By: brecht Maniphest Tasks: T77083 Differential Revision: https://developer.blender.org/D7906 |
June 3, 2020, 09:02 (GMT) |
Cleanup: DRW: Remove support for ModelViewProjectionMatrix This has been replace by manual model+viewproj transform inside the shader. |
June 3, 2020, 09:02 (GMT) |
Cleanup: DRW: Remove support for builtin matrices |
June 3, 2020, 09:02 (GMT) |
DRW: Remove use of builtin matrices and replace by common_view_lib |
June 3, 2020, 09:02 (GMT) |
Cleanup: DRW: Remove builtin 3D only shader usage |
June 3, 2020, 09:02 (GMT) |
GPUImmediate: Fix array uniform not working |
June 3, 2020, 09:02 (GMT) |
Cleanup: DRW: Remove persistent uniform functions |
June 3, 2020, 08:58 (GMT) |
June 3, 2020, 08:29 (GMT) |
Object: refactor mode switching Functionality here has become confusing over time, this removes duplicate, similar functions, preferring to set the mode instead of toggle, enter, exit. Mode switching utility function behaved differently regarding undo, 'ED_object_mode_toggle' for example didn't skip the undo push where 'ED_object_mode_set' did. Some callers chose these functions based on the intended undo behavior, even when toggling didn't make sense. There was also ED_object_mode_generic_enter which was similar to ED_object_mode_set, instead of the reverse of ED_object_mode_generic_exit. Simplify object mode switching internals: - Replace ED_object_mode_generic_enter with ED_object_mode_set. - Remove ED_object_mode_toggle as nearly all callers needed to check the current mode so toggling would set the mode argument correctly. - Use ED_object_mode_set for the object mode switching operator to simplify logic. - Add ED_object_mode_set_ex which has an argument to disable undo, needed when loading undo data needs to set the mode. - Remove unused ED_object_mode_exit. |
June 3, 2020, 08:26 (GMT) |
Cleanup: remove ED_gpencil_setup_modes from object mode set Grease pencil mode switching functions already call this. |
June 3, 2020, 08:04 (GMT) |
GPencil: Add function to write sample data to edit curve |
June 3, 2020, 08:00 (GMT) |
GPencil: Change bGPDcurve struct to hold array of BezTriple |
June 3, 2020, 07:57 (GMT) |
GPencil: Add BKE function to free editcurve |
June 3, 2020, 04:46 (GMT) |
Fix app-template warning disabling a template without a Python module |
June 3, 2020, 04:46 (GMT) |
Fix T67577: Add-on unregister can't access preferences on factory reset |
June 3, 2020, 04:46 (GMT) |
Cleanup: remove redundant call to addon_utils.reset_all() This is already called by wm_homefile_read |
June 3, 2020, 04:46 (GMT) |
Cleanup: move shared functionality to wm_file_read_pre This matches wm_file_read_post. |
|
|
|


Master Commits
MiikaHweb | 2003-2021