Fix compiler error for VS2017

a void function cannot return a value.
This commit is contained in:
2017-05-24 20:13:45 +02:00
parent 214c42157a
commit aec76fdcc6
+1 -1
View File
@@ -1065,7 +1065,7 @@ void MeshImporter::assign_material_to_geom(
if (uid_material_map.find(ma_uid) == uid_material_map.end()) {
fprintf(stderr, "Cannot find material by UID.\n");
return NULL;
return;
}
// first time we get geom_uid, ma_uid pair. Save for later check.