Overlay-Next: Check active_base for GPv3 sync
`state.active_base` could be null when checking `active_base->object`, thus guarding this from happening.
This commit is contained in:
@@ -189,7 +189,7 @@ class GreasePencil {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ob_ref.object != state.active_base->object) {
|
||||
if ((!state.active_base) || (ob_ref.object != state.active_base->object)) {
|
||||
/* Only display for the active object. */
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user