Files
test2/source
Sean Kim 1158bb33d0 Fix #88592: Avoid creating undo step when adding brush texture
When adding a texture to a brush datablock, currently, the resulting
undo step does not have any effect when undone. This is due to the
texture being added to the linked asset library. As we do not want this
extraneous undo step to be created since it has no effect, this commit
does the following:

* Removes the automatic undo handling with OPTYPE_UNDO
* Manually adds a undo step if the newly created Texture datablock was
  not moved to a library.

Pull Request: https://projects.blender.org/blender/blender/pulls/136336
2025-03-24 17:43:49 +01:00
..