Commit 4519abc2 authored by Jan Möbius's avatar Jan Möbius
Browse files

Scripting function to enable or disable two sided lighting

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ac705403
......@@ -1379,6 +1379,11 @@ void ViewControlPlugin::setCoordsysProjection(bool _orthogonal) {
void ViewControlPlugin::setTwoSidedLighting(bool _enabled) {
void ViewControlPlugin::setDescriptions() {
emit setSlotDescription("translate(Vector,int)", "Translate Scene",
......@@ -1460,6 +1465,9 @@ void ViewControlPlugin::setDescriptions() {
emit setSlotDescription("viewingDirection(int)", "Get the current viewingDirection of a specific viewer.",
QStringList("ViewerId"), QStringList("Id of the viewer"));
emit setSlotDescription("setTwoSidedLighting(bool)", "Enable or disable two sided lighting.",
QStringList("enabled"), QStringList("Specifies whether to enable or disable two sided lighting."));
......@@ -342,6 +342,8 @@ class ViewControlPlugin : public QObject, BaseInterface , PickingInterface, Logg
/// Perspective or orthogonal
void setCoordsysProjection(bool _orthogonal);
void setTwoSidedLighting(bool _enabled);
#endif //ViewControlPlugin_HH
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment