Cleanup: Correcting default cases in node.cc #107339
|
@ -1943,7 +1943,8 @@ const char *nodeStaticSocketType(const int type, const int subtype)
|
|||
return "NodeSocketTexture";
|
||||
case SOCK_MATERIAL:
|
||||
return "NodeSocketMaterial";
|
||||
default:
|
||||
case SOCK_CUSTOM:
|
||||
case __SOCK_MESH:
|
||||
break;
|
||||
}
|
||||
return nullptr;
|
||||
|
@ -2022,7 +2023,8 @@ const char *nodeStaticSocketInterfaceType(const int type, const int subtype)
|
|||
return "NodeSocketInterfaceTexture";
|
||||
case SOCK_MATERIAL:
|
||||
return "NodeSocketInterfaceMaterial";
|
||||
default:
|
||||
case SOCK_CUSTOM:
|
||||
case __SOCK_MESH:
|
||||
break;
|
||||
}
|
||||
return nullptr;
|
||||
|
@ -2057,7 +2059,8 @@ const char *nodeStaticSocketLabel(const int type, const int /*subtype*/)
|
|||
return "Texture";
|
||||
case SOCK_MATERIAL:
|
||||
return "Material";
|
||||
default:
|
||||
case SOCK_CUSTOM:
|
||||
case __SOCK_MESH:
|
||||
break;
|
||||
}
|
||||
return nullptr;
|
||||
|
|
Loading…
Reference in New Issue