~azzar1/compiz/fix-1234624

« back to all changes in this revision

Viewing changes to plugins/gears/src/gears.h

gears.cpp, gears.h:

Do not render the gears if we are viewing the cube from the inside -
the gears are otherwise obstructing the users' view on his workspaces.

Print a warning to the console once in this case.

(LP: #1185819). Fixes: https://bugs.launchpad.net/bugs/1185819.

Approved by Sam Spilsbury, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    private:
77
77
 
78
78
        bool damage;
 
79
        bool warningPrinted;
79
80
 
80
81
        float contentRotation;
81
82
        GLuint gear1, gear2, gear3;