History

better support for includes in entity scripts

ZappoMan committed 11 years ago

Commit cd0ee0f1 parent 137642f4 files · +25 −6Browse files

Showing the changes to libraries/script-engine/src/ScriptEngine.h (1 of 4 files). Show all

Unified · Split

libraries/script-engine/src/ScriptEngine.h+3−0
@@ -93,6 +93,8 @@ public: · 92 unmodified lines
9393 void setUserLoaded(bool isUserLoaded) { _isUserLoaded = isUserLoaded; }
9494 bool isUserLoaded() const { return _isUserLoaded; }
9595
96+ void setParentURL(const QString& parentURL) { _parentURL = parentURL; }
97+
9698 public slots:
9799 void stop();
98100
@@ -121,6 +123,7 @@ signals: · 22 unmodified lines
121123
122124 protected:
123125 QString _scriptContents;
126+ QString _parentURL;
124127 bool _isFinished;
125128 bool _isRunning;
126129 bool _isInitialized;