Core: Fix a missing interpreter lock

This commit is contained in:
Pieter Hijma
2024-08-05 17:46:14 +02:00
committed by Chris Hennes
parent 8534affff0
commit 5f74b4b299

View File

@@ -3385,6 +3385,7 @@ void ViewProviderSketch::unsetEdit(int ModNum)
void ViewProviderSketch::setEditViewer(Gui::View3DInventorViewer* viewer, int ModNum)
{
Q_UNUSED(ModNum);
Base::PyGILStateLocker lock;
// visibility automation: save camera
if (!this->TempoVis.getValue().isNone()) {
try {