Fix compiler error for VS2017
a void function cannot return a value.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user