full support of ObjectBase:: isReceiveShadows, isCastShadows, isAcceptLight and isAcceptFog
This commit is contained in:
@@ -84,7 +84,10 @@ public:
|
||||
|
||||
bool isReceiveShadows() const { return rec_shadow; }
|
||||
bool isCastShadows() const { return cast_shadow; }
|
||||
void setReceiveShadows(bool on) { rec_shadow = on; }
|
||||
void setReceiveShadows(bool on) {
|
||||
rec_shadow = on;
|
||||
setObjectsChanged();
|
||||
}
|
||||
void setCastShadows(bool on);
|
||||
|
||||
void move(const QVector3D & dv) {
|
||||
@@ -271,10 +274,16 @@ public:
|
||||
QGenericMatrix<3, 2, float> textureGLMatrix() const;
|
||||
|
||||
bool isAcceptLight() const { return accept_light; }
|
||||
void setAcceptLight(bool yes) { accept_light = yes; }
|
||||
void setAcceptLight(bool yes) {
|
||||
accept_light = yes;
|
||||
setObjectsChanged();
|
||||
}
|
||||
|
||||
bool isAcceptFog() const { return accept_fog; }
|
||||
void setAcceptFog(bool yes) { accept_fog = yes; }
|
||||
void setAcceptFog(bool yes) {
|
||||
accept_fog = yes;
|
||||
setObjectsChanged();
|
||||
}
|
||||
|
||||
bool isSelected(bool check_parents = false) const;
|
||||
void setSelected(bool yes);
|
||||
|
||||
Reference in New Issue
Block a user