Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-26Merge branch 'geometry-nodes' into geometry-nodes-boolean-nodeHans Goudey
2020-10-26Geometry Nodes: initial Transform nodeJacques Lucke
Most of this code has been written by @HooglyBoogly. I just changed the exec funtion so that it does not have to make a copy of the mesh.
2020-10-26Geometry Nodes: add utility method to check if a geometry has a meshJacques Lucke
2020-10-26Merge branch 'master' into geometry-nodesJacques Lucke
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
Conflicts: source/blender/blenkernel/intern/armature.c
2020-10-26Proper, cleaner fix for T81963: Random rare crashes in override code.Bastien Montagne
Use new `BKE_pose_ensure` utils, and do so for reference linked object too everywhere.
2020-10-26Pose: Add a 'pose_ensure' new utils that only rebuilds if needed.Bastien Montagne
Avoids having to spread the check logic everywhere in the code.
2020-10-26Merge branch 'blender-v2.91-release'Jeroen Bakker
2020-10-26LatticeDeform: PerformanceJeroen Bakker
This patch improves the single core performance of the lattice deform. 1. Prefetching deform vert during initialization. This data is constant for each innerloop. This reduces the complexity of the inner loop what makes more CPU resources free for other optimizations. 2. Prefetching the Lattice instance. It was constant. Although performance wise this isn't noticeable it is always good to free some space in the branch prediction tables. 3. Remove branching in all loops by not exiting when the effect of the loop isn't there. The checks in the inner loops detected if this loop didn't have any effect on the final result and then continue to the next loop. This made the branch prediction unpredictable and a lot of mis predictions were done. For smaller inner loops it is always better to remove unpredictable if statements by using branchless code patterns. 4. Use SSE2 instruction when available. This gives 50% performance increase measured on a Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with GCC 9.3. Also check other compilers. Before: ``` performance_no_dvert_10000 (4 ms) performance_no_dvert_100000 (30 ms) performance_no_dvert_1000000 (268 ms) performance_no_dvert_10000000 (2637 ms) ``` After: ``` performance_no_dvert_10000 (3 ms) performance_no_dvert_100000 (21 ms) performance_no_dvert_1000000 (180 ms) performance_no_dvert_10000000 (1756 ms) ``` Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D9087
2020-10-26Merge branch 'blender-v2.91-release' into masterAnkit Meel
2020-10-26Fix T81077 id_management test on macOSAnkit Meel
This looks like a optimizer bug where it makes wrong assumptions. The code inside lib_id_delete:264 on rBafd13710b897cc1c11b `for (id = last_remapped_id->next; id; id = id->next) {..}` is not executed in release/relwithdebinfo builds. This can be "fixed" by several ways: - Adding a line that prints the `last_remapped_id->name` right before the said for-loop starts. - Turning off optimization for the whole function `id_delete`: `#pragma clang optimize off/on` Ray Molenkamp - Marking `last_remapped_id` volatile. Julian Eisel - Marking `tagged_deleted_ids` volatile. But it adds a warning when calling `BLI_addtail`: discards volatile qualifier. Discovered by accident. Fix T81077 Reviewed By: mont29 Maniphest Tasks: T81077 Differential Revision: https://developer.blender.org/D9315
2020-10-26Merge branch 'blender-v2.91-release' into masterBastien Montagne
2020-10-26Fix T81963: Random rare crashes in override code.Bastien Montagne
Finaly managed to reproduce, we not only have to ensure pose data is up to date for the override armature, but also for the reference linked data.
2020-10-26Modifiers: include the object & modifier when logging errorsCampbell Barton
Without this, there was no way of finding out which object, modifier combination caused the error, making the logs not very useful for debugging.
2020-10-26Cleanup: spellingCampbell Barton
2020-10-25Cleanup: Use LISTBASE_FOREACH in curve codeHans Goudey
This is a followup to rBa308607a533, using the macro in a few places that were missed.
2020-10-24Merge branch 'geometry-nodes-transform-node' into geometry-nodes-boolean-nodeHans Goudey
2020-10-24Geometry nodes: Initial boolean node implementationHans Goudey
This is fairly hacky and crashy and should not be the final implementation of this node, but it's nice to know that the basics are there to support this kind of functionality. Ideally the boolean code would not need the conversion to bmesh.
2020-10-24Merge branch 'geometry-nodes' into geometry-nodes-transform-nodegeometry-nodes-transform-nodeHans Goudey
2020-10-24Merge branch 'master' into geometry-nodesJacques Lucke
2020-10-24Cleanup: Return early in some curve functionsHans Goudey
This commit uses continue in loops and returning early to reduce indentation in long functions, only where this results in a significant improvement. Also includes a few LISTBASE_FOREACH macros.
2020-10-23Geometry Nodes: Add transform geometry nodeHans Goudey
2020-10-23Multires: Cleanup, better function namingSergey Sharybin
Hopefully it makes it more clear, and also allows to introduce initialization from pre-created Subdiv descriptor.
2020-10-23Merge branch 'master' into geometry-nodesJacques Lucke
2020-10-23Fluid: Possible fix for T79799Sebastián Barschkis
This issue is specific to Windows and should be resolved with the extra checks (untested).
2020-10-23Merge branch 'master' into geometry-nodesHans Goudey
2020-10-23Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-23Fix T80165: Separate by loose parts breaks custom normalsCampbell Barton
- Add NULL check for BKE_lnor_spacearr_clear - Remove unnecessary 'use_toolflags' with BMesh creation.
2020-10-23Cleanup: make formatAaron Carlisle
2020-10-22Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-22GPencil: Fix unreported crash using layer solo mode and masked layersAntonio Vazquez
The solo mode was skipping the layer creation data and the loop of masks expect to have all layers in the array or the loop crash. The solution is just create the layer array data for the layer, but don't draw any stroke.
2020-10-22Fix T81967: Crash when using extrude on a text objectHans Goudey
Caused by rBa308607a5334, which mistakenly removed these lines.
2020-10-22Potential fix for T81963: Random crashes in liboverride code.Bastien Montagne
From the backtrace it looks like in some cases file save (which triggers a general override updates) is done before other code has a chance to re-generate pose data, leading to rna accessing freed memory. I was never able to reproduce that here, so this is a tentative fix in master, if it proves to be working for the studio it will be cherry-picked into 2.91 release branch later.
2020-10-22Pose: Add a 'pose_ensure' new utils that only rebuilds if needed.Bastien Montagne
Avoids having to spread the check logic everywhere in the code.
2020-10-22Geometry Nodes: add an initial geometry classJacques Lucke
2020-10-22Multires: Remove legacy subdivision codeSergey Sharybin
Is no longer used, fully replaced with more powerful algorithm.
2020-10-22Multires: Cleanup, unused codeSergey Sharybin
2020-10-22Multires: Remove legacy compatibility codeSergey Sharybin
It was rather a huge chunk of code, which started to become more harder to maintain with the transition to OpenSubdiv based implementation. Because of this transition, the compatibility was also rather on a poor side. Remove compatibility support for pre-2.50.9 multires. Ref T77107 Reviewed By: brecht, mont29 Differential Revision: https://developer.blender.org/D9238
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Fix animation player initializationCampbell Barton
Updates from 9d30fade3ea9b weren't applied to the animation player causing an assert and missing call to IMB_init.
2020-10-22Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-22Fix T81905: Active keyframe unavailable when handle selectedCampbell Barton
Selecting an F-Curve handle caused an assertion as well as treating the key-frame as inactive. Allow active the keyframe to be active when it's handle is selected, as is done with bezier curves.
2020-10-22Cleanup: Use LISTBASE_FOREACH macro in curve codeHans Goudey
These changes should result in more readable and undestandable code, especially where while loops were use instead of for loops. They are not comprehensive, and I skipped wherever the change was not obvious.
2020-10-22Fix T81925: incorrectly skipped string copy in test_env_pathRobert Guetzkow
Regression in 6f3a9031f7b93e7c687edde646beed9f02d920d4 Ref D9306
2020-10-22Fix T81925: incorrectly skipped string copy in test_env_pathRobert Guetzkow
Regression in 6f3a9031f7b93e7c687edde646beed9f02d920d4
2020-10-22Geometry Nodes: Add initial node definition for edge splitHans Goudey
This is just based on rBa7dba81aab22, and contains no funcionality at all.
2020-10-21Fix T81901: Use the 2.90 scrape brush preset as defaultPablo Dobarro
The new preset I made for 2.91 is way more controllable with lower strength values and does not have the accumulate bug, but until the brush management is in place to ship multiple versions of the brush, probably most people expect something closer to the old version to be the default. Reviewed By: sergey Maniphest Tasks: T81901 Differential Revision: https://developer.blender.org/D9289
2020-10-21Fix 'Make Local' operation to support liboverrides.Bastien Montagne
One can now use 'make local' from the Outliner or the 3DView to also fully localize overrides of linked data.
2020-10-21Fix (studio-reported) Armature: bug in handling of custom bone transform.Bastien Montagne
This specific pose channel pointer was not handled at all during rebuilding of poses, meaning that it could end up pointing at some freed pchan.
2020-10-21Nodes: add initial UI for Triangulate nodeJacques Lucke