Bugfix: (discovered by course participant :)
Brush option "Clone" didn't read linked Clone Image from file. No idea how this ever could work even... even for Undo it would crash.
This commit is contained in:
@@ -1459,6 +1459,8 @@ static void lib_link_brush(FileData *fd, Main *main)
|
||||
if(brush->id.flag & LIB_NEEDLINK) {
|
||||
brush->id.flag -= LIB_NEEDLINK;
|
||||
|
||||
brush->clone.image= newlibadr_us(fd, brush->id.lib, brush->clone.image);
|
||||
|
||||
for(a=0; a<MAX_MTEX; a++) {
|
||||
mtex= brush->mtex[a];
|
||||
if(mtex)
|
||||
|
||||
Reference in New Issue
Block a user