Fix potentially dnagerous code in doversionning of brush.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 15 Jun 2017 10:38:55 +0000 (12:38 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 15 Jun 2017 10:38:55 +0000 (12:38 +0200)
commit25c0666b901d8a083e79d606b5bd805ee18fee20
tree3842edad00a2f73b1fac59f1b8556e222720f255
parent7a80c34f52b69495a47680f45776a163b7e57755
Fix potentially dnagerous code in doversionning of brush.

Even though in that specific it was probably safe-ish, there is no
guarantee at this point Brush we want to remove are not used somewhere,
better take the slightly slower, much safer `BKE_libblock_delete()` path here.
source/blender/blenloader/intern/versioning_defaults.c