Revision adc3d11 by over0219 (soc-2020-soft-body) June 15, 2020, 23:30 (GMT) |
improved API for less for-all-verts loops |
June 15, 2020, 23:02 (GMT) |
Merge branch 'master' into soc-2020-outliner |
June 15, 2020, 22:57 (GMT) |
Outliner: Fix mode column when lock object modes is disabled When Lock Object Modes was disabled, multiple objects would be shown as in the interaction mode even though only one object could be edited at a time. This was not an issue for edit and pose mode because those modes support multi object editing. But in modes like sculpt it implied that multiple objects could be edited at the same time. This only draws the active icon for the active object when lock object modes is disabled, and when there is no active edit or pose object. |
June 15, 2020, 22:18 (GMT) |
Outliner: Use dot icons for object not in current interaction mode Revert the change that used a faded-out icon of the mode. That was too cluttered. |
June 15, 2020, 17:56 (GMT) |
Fix crash: exporting object from Edit mode. |
June 15, 2020, 17:22 (GMT) |
Make all frames exportable; UI & filename changes All frames are now exportable including negative ones, instead of only 0-1000. Added checkbox for Animation for better UI {F8622012} File name doesn't contain frame name if no animation is being exported. Noticed that `source/blender/io/wavefront_obj/IO_wavefront_obj.h` is missing in the IDE's edited files list. So edited that in. |
June 15, 2020, 16:49 (GMT) |
Fix crash when opening some old/broken .blend files after recent fix. Now that `BKE_main_collections_parent_relations_rebuild()` is called from readfile code, we need to make it resilient to potential NULL master collection pointer in scenes. |
June 15, 2020, 16:37 (GMT) |
Refactor: use new blenloader api for laplacian deform modifier |
June 15, 2020, 16:25 (GMT) |
Fix unhandled RECALC options in depsgraph code after recent change. Spotted by @LazyDodo on IRC, thanks. |
June 15, 2020, 15:55 (GMT) |
June 15, 2020, 15:43 (GMT) |
Modifiers: New callbacks for reading and writing .blend files This is part of a greater blenloader decentralization effort (T76372). For modifiers the goal is that fewer files have to be modified when a new modifier is added. This patch just adds the `blendWrite` and `blendRead` callbacks to `ModifierTypeInfo` but does not change any other code yet. In the next steps, modifier specific code will be moved from `writefile.c` and `readfile.c` into their corresponding `MOD_*` files. |
June 15, 2020, 15:25 (GMT) |
Fix T77460: Easy to create cyclic dependencies in collections and crash Blender. Cyclic check was not checking for collections instanciated by objects... |
June 15, 2020, 15:25 (GMT) |
Fix (unreported) critical mistake in Collection liblink code in readfile.c. Prelimenary step to fix T77460. Not sure how or when that thing was done, but since that call walks around collections relationships, it's an utterly critical violation of liblinking principles (code here should never, ever 'get outside' of its own ID scope). This was wroking so far only because code called through this function (`BKE_collection_parent_relations_rebuild`) was only following parents pointers (in `BKE_collection_find_cycle()`), which would be either valid or non-existent. But next commit is going to change that to also check collection's objects instancing of other collections. |
June 15, 2020, 14:47 (GMT) |
Fix T77496: Bones Custom Shapes Wires not drawn Lines loose extraction cannot happen on the fly as the render data isn't complete. This patch will do the lines loose subbuffer extraction as a simple task and not on the fly. This patch introduces 2 sub-types of tasks that are executed single threaded. `EXTRACT_MESH_EXTRACT` would do the extraction using Mesh/BMesh geometry. `EXTRACT_LINES_LOOSE` creates the `lines_loose` subbuffer from already cached `lines` IBO. Reviewed By: Cl�ment Foucault Differential Revision: https://developer.blender.org/D7964 |
June 15, 2020, 13:35 (GMT) |
Fix T77774: New undo code broken by 'make local' behavior. This is actually a nice issue due to too much optimization... * Making an ID local just reuse the linked one whenever possible, instead of actually making a copy of it. * Therefore, the collection containing that ID is seen as unchanged, since the pointer itself remained the same. * But on undo step, there is no way to reuse that local object, which then gets deleted, and linked one gets re-created - at a different address. * Collection, however, since unchanged, is not updated at all and thus keeps reference to the to-be-deleted local object, instead of the linked one. * Issue gets even worse with viewlayers, this leads to the crash. To address this, this patch adds a 'virtual' update flags that does nothing in update case, but will ensure that the affected IDs using the one made local are properly detected as changed across the relevant undo step. Note that the recalc flags were chosen mostly for a logical reason, and also because they are already properly dealt with and cleared by undo code, so this looks like the optimal solution. Reviewed By: brecht Maniphest Tasks: T77774 Differential Revision: https://developer.blender.org/D8006 |
June 15, 2020, 13:29 (GMT) |
June 15, 2020, 13:26 (GMT) |
Fix T77342: Fail to draw loose edges The underlying issue is that the loose edge extraction cannot be threaded. This patch will extract the loose edges during initialization of the render mesh data. When working on this patch the mesh_render_data_update was split into multiple functions to identify what part was failing. These functions would also help us with debugging. Reviewed By: Cl�ment Foucault Differential Revision: https://developer.blender.org/D7962 |
June 15, 2020, 13:22 (GMT) |
Fix Memory Leak introduced by Draw Manager Threading The memory leak is noticeable when using custom bone shapes. When using custom bone shapes objects could be extracted twice. Where the second extraction can overwrite data created by the first extraction what causes the memory leak. Options that have been checked: 1. Use two task graphs phases. One for normal extraction (DST.task_graph) and the other one will handle extractions that require blocking threads. 2. Keep a list of all objects that needs extraction and only start extraction when all objects have been populated. The second would slow performance as the extraction only happens when all objects have been populated. In the future we might want to go for the second option when we have the capability to render multiple viewports with a single populate. As this design isn't clear this patch will implement the first option. Reviewed By: Cl�ment Foucault Differential Revision: https://developer.blender.org/D7969 |
June 15, 2020, 13:06 (GMT) |
Fix T77541: Unregistering DATA_PT_modifiers doesn't remove modifier panels This is a pretty quick fix; the solution is just removing all the instanced panels whena panel is unregistered. This also necessitates adding the option to call UI_panels_free_instanced with NULL context. Differential Revision: https://developer.blender.org/D7977 |
June 15, 2020, 13:03 (GMT) |
Fix T77853: Error reloading linked library. Issue related to how ID refcounting was changed when loading blendfile data... |
|
|
|


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