Cameron Moore:
polygon.cxx.diff - Fixed an incorrect delete[] call that could fail on a non-Linux platform during genapts split-bin.cxx.diff - Fixed uninitialized z() values that were being printed during tgvpf
This commit is contained in:
parent
6e5f833cc3
commit
3ace596df0
2 changed files with 4 additions and 1 deletions
|
@ -252,7 +252,7 @@ void make_gpc_poly( const FGPolygon& in, gpc_polygon *out ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// free alocated memory
|
// free alocated memory
|
||||||
delete v_list.vertex;
|
delete [] v_list.vertex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,9 @@ static void clip_and_write_poly( string root, long int p_index, AreaType area,
|
||||||
"Out of range latitude in clip_and_write_poly() = " << c.y() );
|
"Out of range latitude in clip_and_write_poly() = " << c.y() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
min.setz( 0.0 );
|
||||||
|
max.setz( 0.0 );
|
||||||
|
|
||||||
SG_LOG( SG_GENERAL, SG_DEBUG, " (" << min << ") (" << max << ")" );
|
SG_LOG( SG_GENERAL, SG_DEBUG, " (" << min << ") (" << max << ")" );
|
||||||
|
|
||||||
// set up clipping tile
|
// set up clipping tile
|
||||||
|
|
Loading…
Add table
Reference in a new issue