Made built-in identifiers properly constant in shaders. Fixes #14449, closes #14629

This commit is contained in:
Juan Linietsky
2017-12-15 18:23:16 -03:00
parent bca97e33ce
commit e946fb8cb0
5 changed files with 166 additions and 86 deletions

View File

@ -186,6 +186,11 @@ class GridMap : public Spatial {
Vector3 _get_offset() const;
struct BakedMesh {
Ref<Mesh> mesh;
Transform transform;
};
protected:
bool _set(const StringName &p_name, const Variant &p_value);
bool _get(const StringName &p_name, Variant &r_ret) const;