Fix hasTangentsAndBitangents method in AiMesh.java (#6345)
original code m_tangents != null && m_tangents != null; triggers error prone Co-authored-by: Kim Kulling <kimkulling@users.noreply.github.com>
This commit is contained in:
@@ -314,7 +314,7 @@ public final class AiMesh {
|
||||
* @return true if tangents and bitangents are available
|
||||
*/
|
||||
public boolean hasTangentsAndBitangents() {
|
||||
return m_tangents != null && m_tangents != null;
|
||||
return m_tangents != null && m_bitangents != null;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user