closes https://github.com/assimp/assimp/issues/3198: make aiMaterial::GetName const.
parent
957e468c8a
commit
8c91d1a3cd
|
@ -402,7 +402,7 @@ aiMaterial::~aiMaterial() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
aiString aiMaterial::GetName() {
|
aiString aiMaterial::GetName() const {
|
||||||
aiString name;
|
aiString name;
|
||||||
Get(AI_MATKEY_NAME, name);
|
Get(AI_MATKEY_NAME, name);
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -5,8 +5,6 @@ Open Asset Import Library (assimp)
|
||||||
|
|
||||||
Copyright (c) 2006-2020, assimp team
|
Copyright (c) 2006-2020, assimp team
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use of this software in source and binary forms,
|
Redistribution and use of this software in source and binary forms,
|
||||||
|
|
Loading…
Reference in New Issue