Sfoglia il codice sorgente

closes https://github.com/assimp/assimp/issues/3198: make aiMaterial::GetName const.

Kim Kulling 4 anni fa
parent
commit
8c91d1a3cd
3 ha cambiato i file con 379 aggiunte e 410 eliminazioni
  1. 1 1
      code/Material/MaterialSystem.cpp
  2. 378 407
      include/assimp/material.h
  3. 0 2
      include/assimp/material.inl

+ 1 - 1
code/Material/MaterialSystem.cpp

@@ -402,7 +402,7 @@ aiMaterial::~aiMaterial() {
 }
 
 // ------------------------------------------------------------------------------------------------
-aiString aiMaterial::GetName() {
+aiString aiMaterial::GetName() const {
     aiString name;
     Get(AI_MATKEY_NAME, name);
 

File diff suppressed because it is too large
+ 378 - 407
include/assimp/material.h


+ 0 - 2
include/assimp/material.inl

@@ -5,8 +5,6 @@ Open Asset Import Library (assimp)
 
 Copyright (c) 2006-2020, assimp team
 
-
-
 All rights reserved.
 
 Redistribution and use of this software in source and binary forms,

Some files were not shown because too many files changed in this diff