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();
|
||||||
~Camera();
|
~Camera();
|
||||||
|
|
||||||
|
virtual std::string getClassName() { return "Camera"; }
|
||||||
CoordinateFrame& getCFrame() { return m_cframe; };
|
CoordinateFrame& getCFrame() { return m_cframe; };
|
||||||
void setCFrame(CoordinateFrame cframe) { m_cframe = cframe; };
|
void setCFrame(CoordinateFrame cframe) { m_cframe = cframe; };
|
||||||
bool zoom(float distance);
|
bool zoom(float distance);
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@ namespace RNR
|
||||||
PartInstance* child_part = dynamic_cast<PartInstance*>(instance);
|
PartInstance* child_part = dynamic_cast<PartInstance*>(instance);
|
||||||
if(child_part)
|
if(child_part)
|
||||||
{
|
{
|
||||||
#define DONT_USE_BRICKCOLOR_MATERIAL
|
|
||||||
#ifndef DONT_USE_BRICKCOLOR_MATERIAL
|
#ifndef DONT_USE_BRICKCOLOR_MATERIAL
|
||||||
m_partEntity->setMaterial(BrickColor::material(child_part->getBrickColor()));
|
m_partEntity->setMaterial(BrickColor::material(child_part->getBrickColor()));
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue