Ver código fonte

1121 新增面网格style判断赋值

caizm 1 ano atrás
pai
commit
66d86b9dd6

+ 1 - 0
CAE_Solution/src/threadPool_and_statemachine/dealWith/boostjsonobject.cpp

@@ -567,6 +567,7 @@ void boostJsonObject::FromParamJson(string param)
             throw myException("hybridParam miss some parameters!");
             da_struct->HybridParaml_ = false;
         }
+        if((!da_struct->TetraParam_)&&(!da_struct->HexaParam_)&&(!da_struct->HybridParaml_))da_struct->style = 0;//面网格赋值
     }else if(this->action == "geometryFileShow"){
         rg_struct = new render_geo_struct();
         rg_struct->filename = root.get<std::string>("geometryFile");