Commit 802a6ae9 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Enabled assert for polyhedral meshes in EntitySeed.h

parent 1f040c7c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -140,8 +140,8 @@ public:
   {
      if( std::is_same< EntityTopology, Topologies::Polygon >::value )
         TNL_ASSERT_GE( cornersCount, 3, "polygons must have at least 3 corners" );
      /*else if( std::is_same< EntityTopology, Topologies::Polyhedron >::value )
         TNL_ASSERT_GE( cornersCount, 2, "polyhedron must have at least 2 faces" );*/
      else if( std::is_same< EntityTopology, Topologies::Polyhedron >::value )
         TNL_ASSERT_GE( cornersCount, 4, "polyhedron must have at least 4 faces" );

      this->cornerIds.setSize( cornersCount );
   }