decompile: remove some log spam, change copy to const ref
This commit is contained in:
parent
2d242fcab6
commit
638f250949
|
|
@ -372,7 +372,7 @@ BuildDecompFacesOnPlane(const mbsp_t *bsp, const decomp_plane_t& plane)
|
||||||
const double dp = qv::dot(plane.normal, decompFace.normal());
|
const double dp = qv::dot(plane.normal, decompFace.normal());
|
||||||
|
|
||||||
if (dp < 0.9) {
|
if (dp < 0.9) {
|
||||||
printf("face on back %g, discarding\n", dp);
|
//printf("face on back %g, discarding\n", dp);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -746,7 +746,7 @@ AddMapBoundsToStack(std::vector<decomp_plane_t>* planestack, const mbsp_t *bsp,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
DecompileEntity(const mbsp_t *bsp, FILE* file, entdict_t dict, bool isWorld)
|
DecompileEntity(const mbsp_t *bsp, FILE* file, const entdict_t& dict, bool isWorld)
|
||||||
{
|
{
|
||||||
// we use -1 to indicate it's not a brush model
|
// we use -1 to indicate it's not a brush model
|
||||||
int modelNum = -1;
|
int modelNum = -1;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue