mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-10 08:03:13 +00:00
Implement TglImpl::MeshBuilder::CreateMesh (#635)
* WIP * Change * Fix * Improve match * Rename class * Fix function * Fix annotation * Fix annotations * Fix annotation
This commit is contained in:
committed by
GitHub
parent
53e2353f78
commit
873926afe2
@@ -93,13 +93,13 @@ void ViewManager::FUN_100a66a0(ViewROI* p_roi)
|
||||
const ViewLOD* lod = (const ViewLOD*) p_roi->GetLOD(p_roi->GetUnknown0xe0());
|
||||
|
||||
if (lod != NULL) {
|
||||
const Tgl::Unk* unk = NULL;
|
||||
const Tgl::MeshBuilder* meshBuilder = NULL;
|
||||
Tgl::Group* roiGeometry = p_roi->GetGeometry();
|
||||
|
||||
unk = lod->GetUnknown0x04();
|
||||
meshBuilder = lod->GetMeshBuilder();
|
||||
|
||||
if (unk != NULL) {
|
||||
roiGeometry->Remove(unk);
|
||||
if (meshBuilder != NULL) {
|
||||
roiGeometry->Remove(meshBuilder);
|
||||
}
|
||||
|
||||
scene->Remove(roiGeometry);
|
||||
|
||||
Reference in New Issue
Block a user