remove DONT_USE_BRICKCOLOR_MATERIAL

This commit is contained in:
floralrainfall 2023-07-16 19:59:03 -04:00
parent 452f4f0f92
commit 013b9f513b
3 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -17,6 +17,7 @@ namespace RNR
Camera();
~Camera();
virtual std::string getClassName() { return "Camera"; }
CoordinateFrame& getCFrame() { return m_cframe; };
void setCFrame(CoordinateFrame cframe) { m_cframe = cframe; };
bool zoom(float distance);

View File

@ -25,7 +25,6 @@ namespace RNR
PartInstance* child_part = dynamic_cast<PartInstance*>(instance);
if(child_part)
{
#define DONT_USE_BRICKCOLOR_MATERIAL
#ifndef DONT_USE_BRICKCOLOR_MATERIAL
m_partEntity->setMaterial(BrickColor::material(child_part->getBrickColor()));
#endif