Check that the viewport has the sw property
Merge pull request #1 from moeric/eric-dev

Check that the viewport has the sw property