diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-08-16 03:01:41 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-08-16 03:01:41 +0200 |
commit | ae2d4490472a129b2f7d73efac0b4dbf257a8018 (patch) | |
tree | 731394cbcffc695979109f62f02fc417584c51bc /thirdparty/libtheora | |
parent | 6380975ee277db907c52a9aa621c01281b5c12d4 (diff) |
Revive inspector property evaluation
GDScript was restricted to parse only scripts beginning with __res://__ or __user://__ to avoid templates from being parsed. I've made that a bit less inclusive by allowing scripts with an empty path to be parsed too, which doesn't conflict and is needed for this to work.
Also I've removed the `this` variable of the generated script and made the relevant object to be the one the script instance refers to, so you can use `self` instead.
Now, with the shorter 3.0-style syntax, you can write things like: `self.position.x + 10`
Closes #9500.
Diffstat (limited to 'thirdparty/libtheora')
0 files changed, 0 insertions, 0 deletions