diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-12-15 18:23:16 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-12-15 18:24:30 -0300 |
commit | e946fb8cb0a9177c45db5305a26efa52ea8e7907 (patch) | |
tree | a5a36a7b61602d2ccf5e3551b947a99b6afc9513 /modules/gridmap/grid_map.h | |
parent | bca97e33cefdf2687ea766fd9bd7032aa98cd0e8 (diff) |
Made built-in identifiers properly constant in shaders. Fixes #14449, closes #14629
Diffstat (limited to 'modules/gridmap/grid_map.h')
-rw-r--r-- | modules/gridmap/grid_map.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gridmap/grid_map.h b/modules/gridmap/grid_map.h index 5bfdf1dac3..ab66bf123e 100644 --- a/modules/gridmap/grid_map.h +++ b/modules/gridmap/grid_map.h @@ -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; |