3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-29 15:42:57 +02:00

Models casting shadows (again). (Something stupid happened...)

This commit is contained in:
Nissim Hadar 2018-02-18 10:19:17 -08:00
parent a69816f885
commit 81c9e449e6
2 changed files with 1 additions and 2 deletions
libraries
entities/src
render/src/render

View file

@ -261,7 +261,6 @@ void ShapeEntityItem::debugDump() const {
qCDebug(entities) << " dimensions:" << debugTreeVector(getScaledDimensions());
qCDebug(entities) << " getLastEdited:" << debugTime(getLastEdited(), now);
qCDebug(entities) << "SHAPE EntityItem Ptr:" << this;
qCDebug(entities) << " can cast shadow" << getCanCastShadow();
}
void ShapeEntityItem::computeShapeInfo(ShapeInfo& info) {

View file

@ -123,7 +123,7 @@ public:
Builder& withDeformed() { _flags.set(DEFORMED); return (*this); }
Builder& withInvisible() { _flags.set(INVISIBLE); return (*this); }
Builder& withShadowCaster() { _flags.set(SHADOW_CASTER); return (*this); }
Builder& withNoShadowCaster() { _flags.set(SHADOW_CASTER); return (*this); }
Builder& withNoShadowCaster() { _flags.reset(SHADOW_CASTER); return (*this); }
Builder& withLayered() { _flags.set(LAYERED); return (*this); }
Builder& withMetaCullGroup() { _flags.set(META_CULL_GROUP); return (*this); }
Builder& withSubMetaCulled() { _flags.set(SUB_META_CULLED); return (*this); }