proporties: refactor if to ternary
proporties: refactor if to ternary

nickel715/meshviewer,Skrupellos/meshviewer,rubo77/meshviewer,mayflower/meshviewer,nickel715/meshviewer,rubo77/meshviewer,Skrupellos/meshviewer,mayflower/meshviewer,rubo77/meshviewer-compilation,rubo77/meshviewer-compilation