소스 검색

quick collada compile fix as a straight update would pull in the boost library as well for yet another dependency

AzaezelX 2 년 전
부모
커밋
360edf18a1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Engine/lib/collada/src/dae/daeMetaElement.cpp

+ 1 - 1
Engine/lib/collada/src/dae/daeMetaElement.cpp

@@ -180,7 +180,7 @@ daeMetaElement::appendAttribute(daeMetaAttribute* attr)
 	else
 		_metaAttributes.append(attr);
 
-	if ((attr->getName() != NULL) &&
+	if ((attr->getName()) &&
 		(strcmp(attr->getName(),"id") == 0)) {
 		_metaID = attr;
 		_isTrackableForQueries = true;