Page MenuHome

Avoid Brush user count increase when duplicates the Brush

Authored by Antonio Vazquez (antoniov) on Tue, Nov 26, 7:11 PM.



When you create a new Brush, the user count is 2 (caller and fake user). The problem is when you duplicate a Brush, the user count grows to 3 and IMHO this is not correct, because is a new brush.

Diff Detail

rB Blender

Event Timeline

Bastien Montagne (mont29) set the repository for this revision to rB Blender.Wed, Nov 27, 11:21 AM

Indeed, copy also add a default initial user, so patch LGTM.

This revision is now accepted and ready to land.Wed, Nov 27, 11:24 AM