allow undo “make detail/structural”, <3 @SpiKe, thanks @Garux, fix #76
authorThomas Debesse <dev@illwieckz.net>
Sun, 15 Jul 2018 19:42:02 +0000 (21:42 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sun, 15 Jul 2018 19:42:02 +0000 (21:42 +0200)
see https://gitlab.com/xonotic/netradiant/issues/76

radiant/brush.h

index 6114d59..96401a0 100644 (file)
@@ -367,7 +367,7 @@ public:
         void exportState(FaceShader &faceShader) const
         {
             faceShader.setShader(m_shader.c_str());
-            faceShader.setFlags(m_flags);
+            faceShader.m_flags = m_flags;
         }
     };