← All ideas
  • Published 13 Dec 2024

Callback, undo

I'm trying to subscribe on a name change with ( g is a vertex group).

bpy.msgbus.subscribe_rna(
    key=g.path_resolve("name", False),
    owner=g,
    args=(g,)
    notify=name_change_callback,
    options={"PERSISTENT"}
)

The problem is that the callback is never called when the name is changed during the undo step. It's weird.

How to track changes regardless of the changing method?

0%

Development Status: Open

Upvote 0 Downvote 0
azagoruyko
13 Dec 2024

0 Comments