Automatically pause simulation time when starting a camera path (adresses #1832)

This commit is contained in:
Emma Broman
2022-01-19 10:27:44 +01:00
parent c2755b8633
commit 0da8afa550
2 changed files with 24 additions and 7 deletions

View File

@@ -81,6 +81,8 @@ public:
static scripting::LuaLibrary luaLibrary();
private:
void handlePathEnd();
/**
* Populate list of nodes that are relevant for collision checks, etc
*/
@@ -90,6 +92,7 @@ private:
std::unique_ptr<Path> _currentPath = nullptr;
bool _isPlaying = false;
bool _startSimulationTimeOnFinish = false;
properties::OptionProperty _defaultPathType;
properties::BoolProperty _includeRoll;