Browse Source

Update DXFLoader.cpp

revert it
Kim Kulling 1 year ago
parent
commit
a8d30f7e91
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/AssetLib/DXF/DXFLoader.cpp

+ 1 - 1
code/AssetLib/DXF/DXFLoader.cpp

@@ -71,7 +71,7 @@ static const aiColor4D AI_DXF_DEFAULT_COLOR(aiColor4D(0.6f, 0.6f, 0.6f, 0.6f));
 // taken directly from the AutoCad Index (ACI) table
 // https://gohtx.com/acadcolors.php
 //STH 2024-0126
-static constexpr aiColor4D g_aclrDxfIndexColors[256] = {
+static const aiColor4D g_aclrDxfIndexColors[256] = {
     aiColor4D (0.0f, 0.0f ,0.0f, 1.0f), //dxf color code 0
     aiColor4D (1.0f, 0.0f ,0.0f, 1.0f), //dxf color code 1
     aiColor4D (1.0f, 1.0f ,0.0f, 1.0f), //dxf color code 2