Page MenuHome

Cleanup: Remove unused sculpt and vertex color operators
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on May 31 2022, 10:03 AM.

Details

Summary

The "Color Attributes" system from f7bbc7cdbb6cb0d2850 has replaced
both "Sculpt Vertex Colors" and "Vertex Colors" in the UI. The Operators
for adding and removing them are unused now.

This commit does not break backwards compatibility with the Python
API, it only removes the operators, which generally aren't used by
addons anyway. The mesh RNA properties can be removed in 4.0 (T100153).

Diff Detail

Repository
rB Blender

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.May 31 2022, 10:03 AM
Hans Goudey (HooglyBoogly) created this revision.

I am fine with the change. We should get feedback from @Joseph Eagar (joeedh) if it would still be needed in the future.

We definitely will not need this in the future.

But I don't see where the RNA API was hidden behind an experimental flag? I think this is breaking API compatibility, strictly speaking, and if the only reason is to cleanup code it may be better not to do that.

  • Remove two more unused operators

Have you tested cycles? So long as nothing is broken there I see no problem with the patch. I've been putting off cleaning this up, thanks.

This revision is now accepted and ready to land.Jun 4 2022, 10:45 PM
Hans Goudey (HooglyBoogly) retitled this revision from Cleanup: Remove unused sculpt vertex color functions and operators to Cleanup: Remove unused sculpt and vertex color operators.
Hans Goudey (HooglyBoogly) edited the summary of this revision. (Show Details)

Don't remove RNA API

This revision now requires review to proceed.Aug 2 2022, 8:11 PM
This revision is now accepted and ready to land.Aug 2 2022, 8:46 PM