fix geom2d/stl init

This commit is contained in:
Matthias Hochsteger 2015-10-19 13:49:09 +02:00
parent 8ac965d707
commit 84b91027a0
3 changed files with 6 additions and 6 deletions

View File

@ -91,10 +91,10 @@ catch {
}
if { [catch { load libgeom2dvis[info sharedlibextension] Ng_Geom2d } result ] } {
# if { [catch { load libgeom2dvis[info sharedlibextension] Ng_Geom2d } result ] } {
# puts "cannot load 2d meshing module"
# puts "error: $result"
}
# }
catch { source ${ngdir}/csgeom.tcl }
catch { source ${ngdir}/stlgeom.tcl }

View File

@ -3159,8 +3159,8 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
extern "C" int Ng_CSG_Init (Tcl_Interp * interp);
extern "C" int Ng_stl_Init (Tcl_Interp * interp);
#ifdef _MSC_VER
extern "C" int Ng_geom2d_Init (Tcl_Interp * interp);
#ifdef _MSC_VER
#ifdef OCCGEOMETRY
extern "C" int Ng_occ_Init (Tcl_Interp * interp);
#endif
@ -3183,8 +3183,8 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
Ng_CSG_Init(interp);
Ng_stl_Init(interp);
#ifdef _MSC_VER
Ng_geom2d_Init (interp);
#ifdef _MSC_VER
#ifdef OCCGEOMETRY
Ng_occ_Init (interp);
#endif

View File

@ -1,7 +1,7 @@
if { [catch { load libstlvis[info sharedlibextension] Ng_STL } result ] } {
#if { [catch { load libstlvis[info sharedlibextension] Ng_STL } result ] } {
# puts "cannot load stl"
# puts "error: $result"
}
#}
.ngmenu.geometry add separator