mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-15 16:27:45 +02:00
Added READ_ENTITY_PROPERTY_TO_PROPERTIES
This commit is contained in:
parent
ff43e4c2ad
commit
72e89851f3
1 changed files with 8 additions and 0 deletions
|
@ -1869,6 +1869,14 @@ bool EntityItemProperties::decodeEntityEditPacket(const unsigned char* data, int
|
|||
properties.getType() == EntityTypes::Box ||
|
||||
properties.getType() == EntityTypes::Sphere) {
|
||||
READ_ENTITY_PROPERTY_TO_PROPERTIES(PROP_SHAPE, QString, setShape);
|
||||
}
|
||||
|
||||
// Can cast shadow flag
|
||||
if (properties.getType() == EntityTypes::Model ||
|
||||
properties.getType() == EntityTypes::Shape ||
|
||||
properties.getType() == EntityTypes::Box ||
|
||||
properties.getType() == EntityTypes::Sphere) {
|
||||
|
||||
READ_ENTITY_PROPERTY_TO_PROPERTIES(PROP_CAN_CAST_SHADOW, bool, setCanCastShadow);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue