Nathan Vegdahl nathanvegdahl
  • Amsterdam, Netherlands
  • https://cessen.com
  • Animator, rigger, and software developer. Currently working at the Blender Institute as a developer on Blender's animation system.

    Been using Blender since 1998, and worked on Big Buck Bunny and Sintel (two of Blender's open movie projects).

  • Joined on 2003-03-21
490b47711b Make ANIM_armature_bonecoll_listbase_copy a little less fragile
5f36168ecf Move functions to more sensible places.
f6d3af216d Document functions, and compute undo size properly.
ca6099d7c1 Split shared code out into separate functions
Nathan Vegdahl created pull request blender/blender#111965 2023-09-05 11:29:41 +02:00
WIP: Fix #111780: bone collections and undo don't work together
b021afec3d WIP: Fix #111780: bone collections and undo don't work together
Nathan Vegdahl created branch 111780_armature_undo_with_collections in nathanvegdahl/blender 2023-09-05 11:28:09 +02:00
Nathan Vegdahl pushed to main at nathanvegdahl/blender 2023-09-05 11:02:25 +02:00
ad0e4f08c0 GPU: Add tests for 1d, 2d array texture types
b6bc53760a Vulkan: Add recent introduced types
bda17719d4 Fix #111950: missing "hide value" and "compact" flags for group sockets
11fe57cab8 Animation: Move Snapping to Scene
7365f0b094 Cleanup: Cover .metal files with make format
Compare 50 commits »
Nathan Vegdahl pushed to main at nathanvegdahl/blender 2023-09-04 14:55:40 +02:00
dee29f4e81 Armature: apply new DualQuat scale handling to constraints and crazyspace.
6cb96aea7c Fix: Outliner missing update adding asset nodegroups
30e3caaf82 Fix #111779: drop asset shading group to GN editor still imports
938d43c317 Fix: EEVEE-Next: Fix LUT translation unit hanging debug build
136b311196 Fix #111789: Anim, bone collections not created when linking armature
Compare 71 commits »
Nathan Vegdahl commented on pull request blender/blender#111759 2023-09-04 14:17:30 +02:00
Armature: apply new DualQuat scale handling to constraints and crazyspace.

According to the style guide, float literals are supposed to be written 1.0f as it was before. I don't feel strongly about this myself, but since it was already that way, and that adheres to the style guide, I think it's best to leave it as it was.

Nathan Vegdahl commented on pull request blender/blender#111759 2023-09-04 14:09:51 +02:00
Armature: apply new DualQuat scale handling to constraints and crazyspace.

From blender.chat:

AlexanderGavrilov smat is mat_accum - the code for non-preserve volume is using the pointer as a flag, so I did the same, even though it's a bit weird in this…

Nathan Vegdahl suggested changes for blender/blender#111759 2023-09-04 13:02:50 +02:00
Armature: apply new DualQuat scale handling to constraints and crazyspace.

Thanks for putting the work in on this! Everything works great in my testing, and the code generally looks good. Just some nits I'd like addressed and some questions.

Nathan Vegdahl commented on pull request blender/blender#111759 2023-09-04 13:02:49 +02:00
Armature: apply new DualQuat scale handling to constraints and crazyspace.

How sure are you that world_to_object is valid here? The previous code was computing this from object_to_world, which makes me wonder if world_to_object isn't always guaranteed to be up-to-date when this function is called.

Nathan Vegdahl commented on pull request blender/blender#111759 2023-09-04 13:02:49 +02:00
Armature: apply new DualQuat scale handling to constraints and crazyspace.

It's not clear to me why the last parameter here is based on whether mat_accum is null or not, especially since mat_accum doesn't seem to be used at all if we're in this branch. Can you add a comment documenting that?

Nathan Vegdahl commented on pull request blender/blender#111759 2023-09-04 13:02:48 +02:00
Armature: apply new DualQuat scale handling to constraints and crazyspace.

This was easier for me to follow when it was rolled into the code around lines 370-380 ish. Is moving the code up here a bug fix, or is it just a stylistic change? If it's just stylistic, please revert.

Nathan Vegdahl commented on issue blender/blender#111780 2023-09-01 17:53:52 +02:00
Bone collections and bone collection membership are not handled properly when undoing in armature edit mode

Further investigation into the crashes revealed that there are multiple underlying issues, any of which can cause crashes:

  1. The armature undo code in editors/armature/editarmature_undo.cc
Nathan Vegdahl pushed to main at blender/blender 2023-09-01 16:11:53 +02:00
ceb5981bff Versioning: move bone collection/color versioning to bumped subversion
Nathan Vegdahl pushed to blender-v3.6-release at blender/blender 2023-09-01 15:55:37 +02:00
2fc04eaf43 Fix: ensure bones are on at least one layer on blend file reading