Browse Source

Fix crash after RemoveSurfaceCommand undo call

- Surface had to be selected again after putting it back into surfaceManager
master
Krisjanis Rijnieks 10 years ago
parent
commit
2f42b0e783
  1. 1
      src/Commands/RemoveSurfaceCommand.cpp

1
src/Commands/RemoveSurfaceCommand.cpp

@ -21,6 +21,7 @@ namespace ofx{
ofLogError("RemoveSurfaceCommand", "No surface stored");
}
_app->surfaceManager.addSurface(_surface);
_app->surfaceManager.selectSurface(_surface);
_surface = 0;
}

Loading…
Cancel
Save