Sfoglia il codice sorgente

Merge pull request #5085 from RandomShaper/remove-unreachable-code

Remove found dead code
Rémi Verschelde 9 anni fa
parent
commit
40944ddffb
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      scene/resources/mesh.cpp

+ 0 - 6
scene/resources/mesh.cpp

@@ -149,12 +149,6 @@ bool Mesh::_set(const StringName& p_name, const Variant& p_value) {
 		return true;
 	}
 
-	if (what=="custom_aabb") {
-
-		surface_set_custom_aabb(idx,p_value);
-		return true;
-	}
-
 	return false;
 }