remove DONT_USE_BRICKCOLOR_MATERIAL
This commit is contained in:
parent
452f4f0f92
commit
013b9f513b
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue