clarify step over tool tip. fix rare surface on null ptr

This commit is contained in:
Stewart Allen 2023-01-20 15:11:56 -05:00
commit d898a23449
2 changed files with 2 additions and 2 deletions

View file

@ -891,7 +891,7 @@ CAM.init = function(kiri, api) {
};
};
func.surfaceDone = () => {
if (!surfaceOn) {
if (!(surfaceOn && poppedRec && poppedRec.surfaces)) {
return;
}
let surfaces = poppedRec.surfaces;