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 commented on pull request blender/blender#125474 2024-08-05 17:12:11 +02:00
Fix #125426: Update paths in animation when renaming IDProperty

👍

It looks like you forgot to delete this (now duplicate) version of rna_id_animdata_fix_paths_rename_all() that these comments are still referencing, though?

Nathan Vegdahl commented on pull request blender/blender#125474 2024-08-05 16:31:35 +02:00
Fix #125426: Update paths in animation when renaming IDProperty

Oooh, wait, it looks like the version of this function on ID is still left over (after you added it to AnimData). The version on AnimData is correct.

Nathan Vegdahl commented on pull request blender/blender#125474 2024-08-05 16:26:07 +02:00
Fix #125426: Update paths in animation when renaming IDProperty

Not sure if I accidentally marked this as resolved or if you did, but it looks like you haven't changed MAX_ID_NAME to MAX_IDPROP_NAME yet, so unresolving.

(No big deal or anything, just…

Nathan Vegdahl pushed to layered_action_fcurve_groups at nathanvegdahl/blender 2024-08-05 15:53:11 +02:00
d1f67231dc Adjust and remove channel groups when removing fcurves
Nathan Vegdahl pushed to main at nathanvegdahl/.profile 2024-08-05 14:42:18 +02:00
992dd1766d Update reports/2024.md
Nathan Vegdahl commented on pull request blender/blender#125474 2024-08-05 11:33:25 +02:00
Fix #125426: Update paths in animation when renaming IDProperty

It looks to me like MAX_IDPROP_NAME is probably the right one to use here.

Nathan Vegdahl pushed to main at nathanvegdahl/.profile 2024-08-05 11:25:37 +02:00
0c50073b7b Update reports/2024.md
Nathan Vegdahl commented on pull request blender/blender#125474 2024-08-05 11:23:48 +02:00
Fix #125426: Update paths in animation when renaming IDProperty

Re: FUNC_USE_SELF_ID

I'm not 100% sure (RNA is still something I'm learning). But poking around for other examples I found rna_Driver_new() and rna_Driver_remove() in rna_animation.cc.…

Nathan Vegdahl pushed to main at nathanvegdahl/.profile 2024-08-05 09:58:55 +02:00
5d159abd28 Update reports/2024.md
Nathan Vegdahl suggested changes for blender/blender#125807 2024-08-02 18:09:30 +02:00
Fix: Dope Sheet drawing doesn't draw connecting line outside of viewport

Just one last thing that's not clear to me. Works great in testing, though.

Nathan Vegdahl commented on pull request blender/blender#125807 2024-08-02 18:09:29 +02:00
Fix: Dope Sheet drawing doesn't draw connecting line outside of viewport

Is this min() necessary? Also the max() in the if (right_outside_key_index >= 0) below.

Nathan Vegdahl commented on pull request blender/blender#125327 2024-08-02 16:24:24 +02:00
Anim: Remove empty FCurves from layered Actions

Let's just leave it as-is for now since it was already this way before this PR, and that minimizes chances of accidental behavior changes. A cleanup PR after this would be nice if you want to…

Nathan Vegdahl pushed to layered_action_fcurve_groups at nathanvegdahl/blender 2024-08-02 15:58:38 +02:00
861e173a7c Add unit tests for creating fcurves with and without groups
Nathan Vegdahl commented on pull request blender/blender#125327 2024-08-02 15:55:02 +02:00
Anim: Remove empty FCurves from layered Actions

Ooooh, got it. That was a total brain fart on my part. Disregard this comment. For some reason I was imagining the fcurve parameter as being some kind of path-based descriptor... even though…

Nathan Vegdahl commented on pull request blender/blender#125327 2024-08-02 15:06:40 +02:00
Anim: Remove empty FCurves from layered Actions

This just something to consider, not a "please change this" comment.

Nathan Vegdahl commented on pull request blender/blender#125327 2024-08-02 15:06:39 +02:00
Anim: Remove empty FCurves from layered Actions

Do I understand correctly, then, that (at least for now) this function is specific to Baklava phase 1? I.e. it won't work properly for multi-layer/multi-strip actions?

Nathan Vegdahl commented on pull request blender/blender#125327 2024-08-02 14:44:26 +02:00
Anim: Remove empty FCurves from layered Actions

Ah, got it. Yeah, that would be pretty awkward. Maybe there's a common pattern to handle that in modern c++? Dunno, though. I think for now the callback approach is probably nicer, and we can…

Nathan Vegdahl pushed to main at nathanvegdahl/.profile 2024-08-02 14:36:12 +02:00
37bd7cd194 Update reports/2024.md
Nathan Vegdahl suggested changes for blender/blender#125807 2024-08-02 14:31:15 +02:00
Fix: Dope Sheet drawing doesn't draw connecting line outside of viewport

The code generally looks good to me. However, while testing I realized that this doesn't fully solve the issue because there's another case this doesn't account for: the left and right keyframe of a span both being off screen on opposite sides. E.g. if the user zooms way in so the left keyframe is off the left side of the screen and the right keyframe is off the right side of the screen.