Texture refactor
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
This commit is contained in:
@@ -88,7 +88,7 @@ void GroupDialog::_load_nodes(Node *p_current) {
|
||||
node->set_metadata(0, path);
|
||||
node->set_tooltip(0, path);
|
||||
|
||||
Ref<Texture> icon = EditorNode::get_singleton()->get_object_icon(p_current, "Node");
|
||||
Ref<Texture2D> icon = EditorNode::get_singleton()->get_object_icon(p_current, "Node");
|
||||
node->set_icon(0, icon);
|
||||
|
||||
if (!_can_edit(p_current, selected_group)) {
|
||||
|
||||
Reference in New Issue
Block a user