From 3bd2a4c42169eb141a71fb30e4786d4339e3789a Mon Sep 17 00:00:00 2001 From: Hiroshi Ogawa Date: Mon, 16 Oct 2017 18:14:39 +0900 Subject: Fix spatial shader conversion with texture --- scene/resources/material.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/resources/material.h') diff --git a/scene/resources/material.h b/scene/resources/material.h index c0e007ac5f..2425f1a174 100644 --- a/scene/resources/material.h +++ b/scene/resources/material.h @@ -510,6 +510,8 @@ public: void set_texture(TextureParam p_param, const Ref &p_texture); Ref get_texture(TextureParam p_param) const; + // Used only for shader material conversion + Ref get_texture_by_name(StringName p_name) const; void set_feature(Feature p_feature, bool p_enabled); bool get_feature(Feature p_feature) const; -- cgit v1.2.3