Sean Kim Sean-Kim
  • Joined on 2023-12-14
Sean Kim commented on issue blender/blender#127325 2024-09-13 21:46:04 +02:00
"Smear Multires Displacement"-brush: areas suddenly disappear

Yeah, I think knowing how this file was created would probably be generally helpful though; as a follow up outside of this we probably want to warn the user in some way if the file is invalid.

@…

Sean Kim pushed to grease-pencil-bake-object-transform at Sean-Kim/blender 2024-09-13 21:37:02 +02:00
590bc27625 Merge branch 'main' of projects.blender.org:blender/blender into grease-pencil-bake-object-transform
181f2f8eee Fix #127576: Crash in Sculpt mode when using Sample Color off mesh
96e71dc62c Cleanup: Sculpt: Various changes to indexing in displacement smear brush
033f18b5e9 Fix #127502: Popup resizes few times after closing a layout panel
1241e3a5e4 Fix #127556: Sculpt smooth brush missing updates
Compare 62 commits »
Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:27:25 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

I think that's a fine tradeoff then, my concern was mostly a hypothetical about preventing possible future bugs, and we can probably achieve that in a number of ways outside of just asserts.

Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:19:10 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

Fair point about it being an implementation detail.

Sean Kim pushed to main at blender/blender 2024-09-13 21:17:40 +02:00
181f2f8eee Fix #127576: Crash in Sculpt mode when using Sample Color off mesh
Sean Kim deleted branch fix-127576-sample-crash from Sean-Kim/blender 2024-09-13 21:17:39 +02:00
Sean Kim closed issue blender/blender#127576 2024-09-13 21:17:38 +02:00
Sculpt Mode: Color sampling outside of the active object crashes Blender
Sean Kim merged pull request blender/blender#127589 2024-09-13 21:17:37 +02:00
Fix #127576: Crash in Sculpt mode when using Sample Color off mesh
Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:11:42 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

Forgot to delete this - answered my own question after looking through this.

Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:09:19 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

I noticed that in paint_vertex.cc we have a call to update_bounds without a corresponding tag; might want to see if there's some weird dependency there.

Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:09:18 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

I don't know if I agree with shrinking the array on each invocation of this method; I think combined with the fact that update_bounds exits early & doesn't assert on pbvh.bounds_dirty_ being empty might make a class of errors hard to find.

Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:09:17 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

Nit: While I agree with the cleanup here, I think it's worth pulling these index changes out of this PR and into a separate commit.

Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:09:16 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

Typo: change -> changed

Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:09:15 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

Does the dirty_ prefix indicate that this value isn't something we expect to be valid across certain execution contexts?

Sean Kim commented on pull request blender/blender#127587 2024-09-13 21:09:14 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

Nit: Probably good to reference update_bounds here so that it's bidirectional. I'd consider mentioning this does lazy allocation of the vector?

Sean Kim commented on pull request blender/blender#127587 2024-09-13 19:54:50 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

Ah right, missed that we're not preallocating these

Sean Kim commented on pull request blender/blender#127587 2024-09-13 19:31:26 +02:00
Refactor: Sculpt: Tag all nodes positions changed together, store in array

Do you have a general idea of the grouping for the other flags? I see the benefit here & possibly for visibility too to have them as separate Vector<bool> entities, but I wonder about the memory…

Sean Kim closed issue blender/blender#127585 2024-09-13 19:22:42 +02:00
Asset shelf filtering doesn't do anything
Sean Kim commented on issue blender/blender#127585 2024-09-13 19:22:39 +02:00
Asset shelf filtering doesn't do anything

I must have had preferences saved from some older version - closing this