Fix #118501: crash opening some projects if Load UI is off
Wrong check for vecscope_rgb array free, introduced in 567455124d
This commit is contained in:
@@ -1713,6 +1713,8 @@ void BKE_scopes_update(Scopes *scopes,
|
||||
}
|
||||
if (scopes->vecscope) {
|
||||
MEM_freeN(scopes->vecscope);
|
||||
}
|
||||
if (scopes->vecscope_rgb) {
|
||||
MEM_freeN(scopes->vecscope_rgb);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user