tornavis/source/blender/editors
Philipp Oeser 3ae664363d Fix T94635: Sculpt Smooth in Surface mode with Anchored Stroke crash
Sculpt Smooth in Surface mode (as opposed to Laplacian) needs a cache
initialized on first time. In anchored stroke mode with spherical falloff
this was skipped though (because this starts of with no PBVH nodes and
an early return checks for this) and `first_time` was set to false before
cache initialization.

Now move the cache initalization to happen earlier (same as the cache
initialization for automasking).

Maniphest Tasks: T94635

Differential Revision: https://developer.blender.org/D13746
2022-01-06 20:55:43 +01:00
..
animation Cleanup: move public doc-strings into headers 2022-01-06 19:25:24 +11:00
armature Cleanup: use BKE_pose_is_layer_visible in more places 2021-12-21 16:45:46 +01:00
asset CMake: add missing headers 2022-01-06 13:54:48 +11:00
curve Cleanup: correct unbalanced doxygen groups 2021-12-14 16:17:10 +11:00
datafiles Icons: Replace .blend file icons, add "Current File" icon 2021-11-23 14:32:35 +01:00
geometry Make polls for removing mesh data layers consistent 2021-07-22 10:11:44 +02:00
gizmo_library Cleanup: correct unbalanced doxygen groups 2021-12-14 16:17:10 +11:00
gpencil Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
include Cleanup: anim, remove `const` declarations from pass-by-value params 2022-01-06 11:41:03 +01:00
interface Cleanup: sort cmake file lists 2022-01-06 13:54:55 +11:00
io Cleanup: sort cmake file lists 2022-01-06 13:54:55 +11:00
lattice Cleanup: correct unbalanced doxygen groups 2021-12-14 16:17:10 +11:00
mask Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
mesh Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
metaball Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
object Cleanup: Replace FINISHED with CANCELLED 2022-01-06 10:22:32 +01:00
physics Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
render Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
scene Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
screen Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
sculpt_paint Fix T94635: Sculpt Smooth in Surface mode with Anchored Stroke crash 2022-01-06 20:55:43 +01:00
sound Cleanup and remove SEQ_ALL_BEGIN macro 2021-08-25 17:30:39 +02:00
space_action Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
space_api Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
space_buttons Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
space_clip Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
space_console Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
space_file Cleanup: sort cmake file lists 2022-01-06 13:54:55 +11:00
space_graph Cleanup: anim, remove `const` declarations from pass-by-value params 2022-01-06 11:41:03 +01:00
space_image Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
space_info Cleanup: use BKE_pose_is_layer_visible in more places 2021-12-21 16:45:46 +01:00
space_nla Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
space_node Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
space_outliner LibOverride: protect better against using on complex inter-dependency cases. 2021-12-23 10:13:07 +01:00
space_script Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
space_sequencer VSE: Clamp sound strip when adding movie strip 2021-12-20 01:35:25 +01:00
space_spreadsheet Cleanup: Clang-tidy: modernize-redundant-void-arg 2022-01-05 21:44:22 -05:00
space_statusbar Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
space_text Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
space_topbar UI: move "undo history" from a custom popup to a menu type 2021-12-17 17:28:57 +11:00
space_userpref Cleanup: move public doc-strings into headers for 'editors' 2021-12-09 01:14:10 +11:00
space_view3d Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
transform Cleanup: spelling in comments 2022-01-06 13:54:52 +11:00
undo UI: move "undo history" from a custom popup to a menu type 2021-12-17 17:28:57 +11:00
util CMake: add missing headers 2022-01-06 13:54:48 +11:00
uvedit Nodes: refactor node tree update handling 2021-12-21 15:18:56 +01:00
CMakeLists.txt Spreadsheet: add boilerplate code for new editor type 2021-03-08 16:25:08 +01:00