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
Nathan Vegdahl pushed to main at nathanvegdahl/blender 2023-06-06 11:14:29 +02:00
05b8242e45 Cleanup: use \n for line endings (run dos2unix)
0824ef7e91 Cleanup: remove TODO's from console_ops.c
bdd189f593 Cleanup: replace BLI_strncpy with memcpy
db03beea24 Cleanup: early return, reduce right-shift
81da428cec Merge branch 'blender-v3.6-release'
Compare 33 commits »
Nathan Vegdahl deleted branch 106801_fix from nathanvegdahl/blender 2023-06-06 11:11:07 +02:00
Nathan Vegdahl closed issue blender/blender#106801 2023-06-06 11:11:06 +02:00
Assigned action is lost if file is saved while in NLA tweaking mode on a linked object with linked animation data
Nathan Vegdahl merged pull request blender/blender#108548 2023-06-06 11:11:04 +02:00
Fix #106801: loading file with overriden NLA in tweak mode loses action
Nathan Vegdahl pushed to blender-v3.6-release at blender/blender 2023-06-06 11:11:04 +02:00
997ad50b49 Fix #106801: loading file with overriden NLA in tweak mode loses action
Nathan Vegdahl pushed to 106801_fix at nathanvegdahl/blender 2023-06-06 11:06:27 +02:00
691e101b98 Cleanup: minor documentation tweak for clarity.
1e70dc7071 Fix: better name for the newly exposed tmpact property.
dbb4cf7b88 Fix: bug found during PR review.
Compare 3 commits »
Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-06 10:33:56 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

Out of curiosity, I looked up the defined behavior: https://en.cppreference.com/w/c/language/conversion

It turns out that using a float as a boolean is equivalent to first casting the float…

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-06 10:15:39 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

Just one last thing:

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-06 10:06:27 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

Ah! I should have looked at the changes first. Yeah, I think I prefer the else branch, like you've written it now. Thanks so much!

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-06 10:04:21 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

Ah, yeah. I'm well aware of the semantics of const *, but I wasn't following the control flow correctly: I forgot about the case where the if branch is skipped.

All other things being…

Nathan Vegdahl commented on pull request blender/blender#108548 2023-06-05 13:00:25 +02:00
Fix #106801: loading file with overriden NLA in tweak mode loses action

Ah! Good catch, thanks.

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-05 12:45:11 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

I did some testing with your new solution, and it works great! Awesome work!

I did find some extreme situations with shear that could still be improved, but this is already such a massive

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-05 12:02:02 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

I brought this to the animation module meeting, and we agreed that we'd like to merge this once the code is in shape. I did another code review, with some change requests.

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-05 11:59:49 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

deform_dq is declared const, so it feels like bad form to modify its pointer. I think it would be better to get rid of this assignment entirely, and just use mdq directly below.

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-05 11:59:48 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

I think the memcpy() can be replaced with the simpler:

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-05 11:59:48 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

I think it's already fairly obvious that mdq.quat[i] are the wxyz components of the quaternion, so I'd say get rid of the temporary variables and just use mdq.quat directly.

Nathan Vegdahl commented on pull request blender/blender#108134 2023-06-05 11:59:47 +02:00
Fix #32022, #43188, #100373, Armature modifier - Preserve volume + Scale

Instead of FIX I think WORKAROUND is more appropriate here, because this only properly addresses the "all bones uniformly scale by the same amount" case.

Nathan Vegdahl pushed to main at nathanvegdahl/blender 2023-06-05 11:27:44 +02:00
0e20e2320b Fix compiler error on Metal
6a1aead6d1 Metal: Silence Console Output
c1ac3621a9 Cleanup: replace list-base count_at_most with is_single for clarity
aada2800fd Cleanup: use BLI_strchr_or_end to simplify new-line stepping
7d56c8fe1d BLI_string: add BLI_strchr_or_end
Compare 58 commits »