Page MenuHome

Avoid Brush user count increase when duplicates the Brush
ClosedPublic

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

Details

Summary

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

Repository
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