Revision e2e31b9 by Campbell Barton October 2, 2020, 01:58 (GMT) |
Cleanup: compiler warnings |
Revision edd1164 by Kévin Dietrich October 1, 2020, 21:21 (GMT) |
Cycles: add time statistics to scene update Gathers information for time spent in the various managers or object (Film, Camera, etc.) being updated in Scene::device_update. The stats include the total time spent in the device_update methods as well as time spent in subroutines (e.g. bvh build, displacement, etc.). This does not qualify as a full blown profiler, but is useful to identify potential bottleneck areas. The stats can be enabled and printed by passing `--cycles-print-stats` on the command line to Cycles, or `-- --cycles-print-stats` to Blender. Reviewed By: brecht Maniphest Tasks: T79174 Differential Revision: https://developer.blender.org/D8596 |
Revision 342bdbc by Pablo Dobarro October 1, 2020, 18:47 (GMT) |
Fix warnings in cloth brush int casts Use POINTER_AS_INT instead Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9083 |
Revision c3238bd by Hans Goudey October 1, 2020, 17:56 (GMT) |
Cleanup: Use DNA defaults for cloth modifier Followup for rB8398050695 This requires moving a few enum definitions to DNA instead of BKE, and adding default definitions for the two structs the cloth modifier where the cloth modifier stores its settings. The defaults are also reordered to be consistent with the order of each item in the struct. |
Revision 4c0ef4f by Hans Goudey October 1, 2020, 17:45 (GMT) |
Cleanup: Clang tidy fixes Fix a redundant return statement at the end of void function and an inconsistent declaration parameter names. |
Revision b6f15d5 by Pablo Dobarro October 1, 2020, 17:24 (GMT) |
Fix T80873: Grab active vertex preview not working with shape keys When a Shape Key is active, use the PBVH deformed coordinates for the preview. Reviewed By: sergey Maniphest Tasks: T80873 Differential Revision: https://developer.blender.org/D8921 |
Revision e41437b by Pablo Dobarro October 1, 2020, 17:18 (GMT) |
Fix T81268: Crash when undo from Sculpt Mode to Edit Mode This was introduced in 6c9ec1c893f9. The overlays can now be drawn when PBVH drawing is not enabled, but the PBVH should still exist in the SculptSession in order to draw them. Before, it was avoiding the crash by checking use_pbvh as BKE_sculptsession_use_pbvh_draw also checks if the PBVH exists. Reviewed By: sergey Maniphest Tasks: T81268 Differential Revision: https://developer.blender.org/D9044 |
Revision 8fbb6aa by Pablo Dobarro October 1, 2020, 17:13 (GMT) |
Paint: Ignore inbetween events for anchored strokes When using anchored strokes, inbetween events are not needed since there is no stroke path to be reconstructed. Handling the inbewteen events are only producing unnecessary updates, creating performance issues. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D9053 |
Revision 8ef353f by Pablo Dobarro October 1, 2020, 17:11 (GMT) |
Sculpt: Cloth Simulation Dynamic area mode This simulation area mode moves the active area with the brush. When enabled, the cloth brush has no restrictions on stroke length, area or mesh vertex count. In order to work, this enables PBVH nodes dynamically for simulation as the stroke location moves and builds the constraints for new nodes during the stroke. When a node is not inside the simulated area, all the constraints that were created for it and vertex collisions are not computed. The simulation limits falloff areas and constraints tweaking control how the simulated and no simulated nodes blend. Reviewed By: sergey, zeddb Differential Revision: https://developer.blender.org/D8726 |
Revision cd81c38 by Philipp Oeser October 1, 2020, 16:38 (GMT) |
Cleanup: typo in comment |
Revision 84e122e by Ray molenkamp October 1, 2020, 16:19 (GMT) |
Cycles: Fix broken 32 bit shift. 1ul << n will still be a 32 bit integer regardless of the value of n, given the target here is 64 bits the upper 32 bits will always be zero. Using 1ull will yield the expected result. |
Revision ec723ad by Jacques Lucke October 1, 2020, 16:05 (GMT) |
remove foreachObjectLink callback This removes `foreachObjectLink` from `ModifierTypeInfo`, `GpencilModifierTypeInfo` and `ShaderFxTypeInfo`. There is no need to have both, `foreachObjectLink` and `foreachIDLink`. There is not code that actually depends on `foreachObjectLink`. Reviewers: brecht Differential Revision: https://developer.blender.org/D9078 |
Revision cbbd528 by Jacques Lucke October 1, 2020, 15:59 (GMT) |
Cleanup: remove trailing whitespace |
Revision 365bf10 by Jacques Lucke October 1, 2020, 15:59 (GMT) |
Volumes: support lower resolution in viewport The adds a new option to simplify volumes in the viewport. The setting can be found in the Simplify panel in the render properties. Volume objects use OpenVDB grids, which are sparse. For rendering, we have to convert sparse grids to dense grids (for now). Those require significantly more memory. Therefore, it's often a good idea to reduce the resolution of volumes in the viewport. Reviewers: brecht Differential Revision: https://developer.blender.org/D9040 Ref T73201. |
Revision 5b85034 by Brecht Van Lommel October 1, 2020, 15:43 (GMT) |
Fix subdivision surface wrong for non-limit surface and subdivision level 1 Remove the workaround for T59395 that increases the minimal refinement to 2 to work around an OpenSubdiv bug. This bug appears to be fixed in the latest OpenSubdiv version we are using. Problem found by Piotr Ostrowski. Ref D9076 |
Revision 958fc69 by Jacques Lucke October 1, 2020, 14:57 (GMT) |
Cleanup: make texture coordinates const |
Revision 8398050 by Hans Goudey October 1, 2020, 14:38 (GMT) |
Use DNA defaults system for modifiers As noted in T80164, there are quite a few area of Blender where the "Reset to Default Value" operator in button context menus doesn't work. Modifiers are one of them, because the DNA defaults system was never set up for them. Additionally, this should make modifier versioning easier. Whenever a new field is added it should be automatically initialized to the default value. I had to make some ordering changes in the following modifiers to work around an error with `-Wsign-conversion` in the macros: - Solidify Modifier - Corrective Smooth Modifier - Screw Modifier Some modifiers are special cases and are skipped in this commit: - Data Transfer Modifier - Cloth Modifier - Fluid Modifier - Softbody Modifier Differential Revision: https://developer.blender.org/D8747 |
Revision 551204a by Hans Goudey October 1, 2020, 14:05 (GMT) |
Cleanup: Remove unused variable |
Revision d7af1c7 by Jacques Lucke October 1, 2020, 13:54 (GMT) |
Fix: Mesh to Volume modifier crashes when object is in edit mode Bug and fix has been found by dfelinto, thanks. |
Revision 5e6459a by Jacques Lucke October 1, 2020, 13:54 (GMT) |
Volumes: copy display settings in BKE_volume_new_for_eval |
|
|
|


Master Commits
MiikaHweb | 2003-2021