Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
fix attempting to grab runtime pointers when no runtime is attached
Browse files Browse the repository at this point in the history
  • Loading branch information
cpdt committed Jul 22, 2018
1 parent f4dbf88 commit ed9c58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/model/ModelRoot.cpp
Expand Up @@ -67,8 +67,8 @@ void ModelRoot::applyTransaction(MaximCompiler::Transaction transaction) {

if (_runtime) {
_runtime->commit(std::move(transaction));
rootSurface()->updateRuntimePointers(_runtime, _runtime->getRootPtr());
}
rootSurface()->updateRuntimePointers(_runtime, _runtime->getRootPtr());
if (_backend) {
_backend->internalUpdateConfiguration();
}
Expand Down

0 comments on commit ed9c58c

Please sign in to comment.