diff --git a/library/terraman_library.cpp b/library/terraman_library.cpp index d377d55..f6e4709 100644 --- a/library/terraman_library.cpp +++ b/library/terraman_library.cpp @@ -69,7 +69,7 @@ Ref TerramanLibrary::material_lod_get(const int index) { return _materials[index]; } -void TerramanLibrary::material_cache_get_key(const Ref &chunk) { +void TerramanLibrary::material_cache_get_key(Ref chunk) { call("_material_cache_get_key", chunk); } @@ -143,7 +143,7 @@ Ref TerramanLibrary::liquid_material_lod_get(const int index) { return _liquid_materials[index]; } -void TerramanLibrary::liquid_material_cache_get_key(const Ref &chunk) { +void TerramanLibrary::liquid_material_cache_get_key(Ref chunk) { call("_liquid_material_cache_get_key", chunk); } @@ -217,7 +217,7 @@ Ref TerramanLibrary::prop_material_lod_get(const int index) { return _prop_materials[index]; } -void TerramanLibrary::prop_material_cache_get_key(const Ref &chunk) { +void TerramanLibrary::prop_material_cache_get_key(Ref chunk) { call("_prop_material_cache_get_key", chunk); } diff --git a/library/terraman_library.h b/library/terraman_library.h index c362953..1ed71a7 100644 --- a/library/terraman_library.h +++ b/library/terraman_library.h @@ -72,7 +72,7 @@ public: Ref material_get(const int index); Ref material_lod_get(const int index); - void material_cache_get_key(const Ref &chunk); + void material_cache_get_key(Ref chunk); virtual void _material_cache_get_key(Ref chunk); Ref material_cache_get(const int key); virtual Ref _material_cache_get(const int key); @@ -89,7 +89,7 @@ public: Ref liquid_material_get(const int index); Ref liquid_material_lod_get(const int index); - void liquid_material_cache_get_key(const Ref &chunk); + void liquid_material_cache_get_key(Ref chunk); virtual void _liquid_material_cache_get_key(Ref chunk); Ref liquid_material_cache_get(const int key); virtual Ref _liquid_material_cache_get(const int key); @@ -106,7 +106,7 @@ public: Ref prop_material_get(const int index); Ref prop_material_lod_get(const int index); - void prop_material_cache_get_key(const Ref &chunk); + void prop_material_cache_get_key(Ref chunk); virtual void _prop_material_cache_get_key(Ref chunk); Ref prop_material_cache_get(const int key); virtual Ref _prop_material_cache_get(const int key);