January 12, 2021, 04:55 (GMT) |
Merge branch 'master' into refactor-idprop-ui-data |
January 12, 2021, 03:19 (GMT) |
Fix T84455: Circle select tool cursor draws in overlapping regions |
January 11, 2021, 21:30 (GMT) |
UI: Icon for Multires Displacement Smear Tool This commit adds the icon for the new tool. |
January 11, 2021, 21:29 (GMT) |
UI: Update geometry icon files None of these changes should be visible, but the files were somehow out of sync with the blend file, so they need to be updated to reflect those changes. |
January 11, 2021, 20:04 (GMT) |
Fix T82351: Cycles: Tile stealing glitches with adaptive sampling In my testing this works, but it requires me to remove the min(start_sample...) part in the adaptive sampling kernel, and I assume there's a reason why it was there? Reviewed By: brecht Maniphest Tasks: T82351 Differential Revision: https://developer.blender.org/D9445 |
January 11, 2021, 20:04 (GMT) |
Fix T84496: Cycles: Tile stealing does not work with NLM Reviewed By: brecht Maniphest Tasks: T84496 Differential Revision: https://developer.blender.org/D10066 |
January 11, 2021, 19:40 (GMT) |
Fix T81211 Add high frequency mouse input for Windows. Also send mouse move event instead of moving cursor via SetCursorPos. SetCursorPos did not reliably move the mouse when it is leaving the window quickly. Reviewed By: brecht Differential Revision: https://developer.blender.org/D9981 |
January 11, 2021, 18:06 (GMT) |
Geometry Nodes: Attribute Vector Math Node This patch implements the same operations and interface as the regular vector math node, but it runs for every element of the attribute. This should expand what's possible with geometry nodes quite a bit. Differential Revision: https://developer.blender.org/D9914 |
January 11, 2021, 17:42 (GMT) |
Geometry Nodes Point Distribution: Align points to face normals This patch makes the point distribute node write to the "rotation" attribute with the normal of each face at each distributed point. The "normal" attribute is also created with the triangle normal at each point. The conversion from the triangle normal to an Euler rotation is somewhat arbitrary, since we only have one direction vector. For a more flexible rotation for each point, the "Align Rotation to Vector" node can be used in the future. Differential Revision: https://developer.blender.org/D9965 |
January 11, 2021, 17:39 (GMT) |
use new style for isect_seg_seg and cross_poly |
January 11, 2021, 17:22 (GMT) |
Merge branch 'master' into math-refactor |
January 11, 2021, 16:59 (GMT) |
Fix T83422: Dimensions incorrect after undoing if it has modified geometry. Root of the issue is that `BKE_object_eval_boundbox` (that ports back evaluated bbox to orig object during active depsgraph evaluation) is only called when object's geometry actually is evaluated. However, with new undo, often Object itself can be changed by undo, without requiring its geometry to be re-evaluated, which was leading to the evaluated bbox not being copied back into orig object anymore. Fixing that by moving bbox copying-to-orig code into `BKE_object_sync_to_original` instead, which is always executed when object is evaluated (as hinted by the comment above `BKE_object_eval_boundbox` actually). Also allows to cleanup code for armature eval, apparently. Maniphest Tasks: T83422 Differential Revision: https://developer.blender.org/D9789 |
January 11, 2021, 16:34 (GMT) |
Cloth: add a vertex group setting to exclude from object collision. This can be useful as a workaround on the boundary with the pinned vertices in some situations among other things, and completely copies the existing design of the self collision vertex group setting. Differential Revision: https://developer.blender.org/D10043 |
January 11, 2021, 16:34 (GMT) |
Collision: allow disabling collision without removing the modifier. The `object.collision.use` flag was treated as a redundant marker of the existence of the modifier, going as far as adding/removing it when the value was changed, which is not actually very useful. Removing the modifier loses its position in the stack, and requires a dependency graph rebuild. It feels it may be a legacy flag? What would be useful however is the ability to toggle collisions dynamically without removing the modifier. This patch adjusts the code to keep the modifier when the flag is disabled, and add it if it doesn't exist when the flag is enabled. The modifier now checks the flag at the start and quickly exits after cleaning up stale data. The redesigned setting is exposed in the UI. Collisions can't be disabled by simply using the modifier enable flags because the modifier merely saves a snapshot of the mesh at a certain point of the modifier stack for other objects to use, and thus has to be able to clear the stale data. Differential Revision: https://developer.blender.org/D10064 |
January 11, 2021, 16:29 (GMT) |
ImBuf: Add error handling to IMB_indexer_open Handle return value of `fread()` by printing an error and closing the file when it cannot be read from. Not only is error handing a good idea, it also prevents GCC from warning that the return value of `fread()` should not be ignored: ``` .../blender/source/blender/imbuf/intern/indexer.c: In function ?IMB_indexer_open?: .../blender/source/blender/imbuf/intern/indexer.c:201:5: warning: ignoring return value of ?fread?, declared with attribute warn_unused_result [-Wunused-result] 201 | fread(&idx->entries[i].frameno, sizeof(int), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .../blender/source/blender/imbuf/intern/indexer.c:202:5: warning: ignoring return value of ?fread?, declared with attribute warn_unused_result [-Wunused-result] 202 | fread(&idx->entries[i].seek_pos, sizeof(unsigned long long), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .../blender/source/blender/imbuf/intern/indexer.c:203:5: warning: ignoring return value of ?fread?, declared with attribute warn_unused_result [-Wunused-result] 203 | fread(&idx->entries[i].seek_pos_dts, sizeof(unsigned long long), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .../blender/source/blender/imbuf/intern/indexer.c:204:5: warning: ignoring return value of ?fread?, declared with attribute warn_unused_result [-Wunused-result] 204 | fread(&idx->entries[i].pts, sizeof(unsigned long long), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` Differential Revision: https://developer.blender.org/D9916 Reviewed by: campbellbarton |
January 11, 2021, 15:44 (GMT) |
ID Creation: generate `session_uuid` in more cases. Previous code would not generate a session uuid for embedded IDs (like root node trees or master collections). While this is not a problem currently since those are not directly stored in Main data-base, this is conceptually wrong, since those IDs still pertain the Main data. Further more, this is blocking using `session_uuid` more in depsgraph in place from ID pointer itself, as identifier (related to T84397). |
January 11, 2021, 15:44 (GMT) |
Fix Embedded IDs creation bypassing ID management completely. No ID (even remotely) related to Main database should ever be created directly through MEM_mallocN. Using `BKE_libblock_alloc` is the bare minimum. Note that there is no behavior change expected here. |
January 11, 2021, 15:44 (GMT) |
Fix missing IDType init in ViewLayer tests. Kinda miracle this did not cause problems so far, but was breaking tests with some upcoming changes. |
January 11, 2021, 15:10 (GMT) |
Fix T84516: ID properties have incorrect names in Python dir() list Caused by not going through the proper accessor function to access the property identifier. |
January 11, 2021, 14:49 (GMT) |
Cleanup: remove trailing whitespace |
|
|
|


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