Patches to Bf Blender for CAD development. https://tornavis.org/
Go to file
Sergey Sharybin 8fb0b9aebb Subdiv: Enable topology cache in edit mode
The general idea of this change is to have a runtime data pointer
in the ModifierData, so it can be preserved through copy-on-write
updates by the dependency graph.

This is where subdivision surface modifier can store its topology
cache, so it is not getting trashed on every copy-on-write which
is happening when moving a vertex.

Similar mechanism should be used by multiresolution, dynamic paint
and some other modifiers which cache evaluated data.

This fixes T61746.

Thing to keep in mind, that there are more reports about slow
subdivision surface in the tracker, but that boils down to the
fact that those have a lot of extraordinary vertices, and hence
a lot slower to evaluated topology.
Other thing is, this speeds up oeprations which doesn't change
topology (i.e. moving vertices).

Reviewers: brecht

Reviewed By: brecht

Maniphest Tasks: T61746

Differential Revision: https://developer.blender.org/D4541
2019-03-18 17:11:43 +01:00
build_files Merge branch 'blender2.7' 2019-03-17 12:54:19 +01:00
doc Fix (unreported) broken Py API doc after adding gpencil to buttons_context... 2019-03-18 14:42:44 +01:00
extern Fix T62255: Blender defaults to "OpenAL Soft" in sound settings, regardless of saved preferences 2019-03-10 23:28:51 +01:00
intern Fix: Cycles Subdivisions panel was showing, even when using Eevee 2019-03-18 15:56:54 +01:00
release Fix noisy console messages about unported add-ons by default. 2019-03-18 10:38:12 +01:00
source Subdiv: Enable topology cache in edit mode 2019-03-18 17:11:43 +01:00
tests Merge branch 'blender2.7' 2019-03-17 12:54:19 +01:00
.arcconfig Update for moving blender2.8 to master. 2018-12-21 12:15:21 +01:00
.editorconfig editorconfig: correct C/C++ using space 2018-06-19 07:48:12 +02:00
.gitignore Git: add TAGS & tags to .gitignore 2019-01-22 12:50:13 +01:00
.gitmodules Update for moving blender2.8 to master. 2018-12-21 12:15:21 +01:00
CMakeLists.txt Cleanup: remove contributors for CMake files 2019-02-05 09:10:32 +11:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Makefile: icons target now uses make variables 2019-02-28 10:37:49 +11:00
make.bat Cleanup: trailing space cmake, make.bat 2018-06-17 20:18:09 +02:00