mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
Material loading base
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
|
||||
#include "Utils/ClassUtils.h"
|
||||
#include "Game/IW4/MaterialConstantsIW4.h"
|
||||
#include "Game/IW4/ObjConstantsIW4.h"
|
||||
#include "Game/IW4/TechsetConstantsIW4.h"
|
||||
#include "Math/Vector.h"
|
||||
|
||||
@ -1431,7 +1432,7 @@ namespace IW4
|
||||
GdtEntry& CreateGdtEntry()
|
||||
{
|
||||
m_entry = GdtEntry();
|
||||
m_entry.m_gdf_name = "material.gdf";
|
||||
m_entry.m_gdf_name = ObjConstants::GDF_FILENAME_MATERIAL;
|
||||
m_entry.m_name = m_material->info.name;
|
||||
|
||||
SetCommonValues();
|
||||
|
Reference in New Issue
Block a user