mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
ImageValueViewer now works and the viewer control is refreshed
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@55 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -84,8 +84,8 @@ class Scriptable {
|
||||
}
|
||||
|
||||
private:
|
||||
T value; ///< The actual value
|
||||
OptionalScript script; ///< The optional script
|
||||
T value; ///< The scripted value
|
||||
|
||||
DECLARE_REFLECTION();
|
||||
};
|
||||
@@ -100,7 +100,7 @@ void Reader::handle(Scriptable<T>& s) {
|
||||
s.script.unparsed = s.script.unparsed.substr(7);
|
||||
s.script.parse(*this);
|
||||
} else {
|
||||
handle(value);
|
||||
handle(s.value);
|
||||
}
|
||||
}
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user