File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1721,16 +1721,6 @@ void CreateNanoGrid<SrcGridT>::processGrid()
17211721 dstData->mBlindMetadataCount = static_cast <uint32_t >(mBlindMetaData .size ());
17221722 dstData->mData1 = this ->valueCount ();
17231723
1724- if (!isValid (dstData->mGridType , dstData->mGridClass )) {
1725- #if 1
1726- fprintf (stderr," Warning: Strange combination of GridType(\" %s\" ) and GridClass(\" %s\" ). Consider changing GridClass to \" Unknown\"\n " ,
1727- toStr (dstData->mGridType ), toStr (dstData->mGridClass ));
1728- #else
1729- throw std::runtime_error("Invalid combination of GridType("+std::to_string(int(dstData->mGridType))+
1730- ") and GridClass("+std::to_string(int(dstData->mGridClass))+"). See NanoVDB.h for details!");
1731- #endif
1732- }
1733-
17341724 std::memset (dstData->mGridName , ' \0 ' , GridData::MaxNameSize);// overwrite mGridName
17351725 strncpy (dstData->mGridName , mSrcNodeAcc .getName ().c_str (), GridData::MaxNameSize-1 );
17361726 if (mSrcNodeAcc .hasLongGridName ()) dstData->setLongGridNameOn ();// grid name is long so store it as blind data
You can’t perform that action at this time.
0 commit comments