mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 14:40:35 +05:00
shrink tets
This commit is contained in:
parent
768f339f05
commit
10a246055c
@ -1722,7 +1722,6 @@ namespace netgen
|
|||||||
|
|
||||||
void VisualSceneMesh :: BuildTetList()
|
void VisualSceneMesh :: BuildTetList()
|
||||||
{
|
{
|
||||||
|
|
||||||
if (tettimestamp > mesh->GetTimeStamp () &&
|
if (tettimestamp > mesh->GetTimeStamp () &&
|
||||||
tettimestamp > vispar.clipping.timestamp )
|
tettimestamp > vispar.clipping.timestamp )
|
||||||
return;
|
return;
|
||||||
|
@ -2943,8 +2943,13 @@ void PlayAnimFile(const char* name, int speed, int maxcnt)
|
|||||||
atoi (Tcl_GetVar (interp, "::viewoptions.drawpyramids", TCL_GLOBAL_ONLY));
|
atoi (Tcl_GetVar (interp, "::viewoptions.drawpyramids", TCL_GLOBAL_ONLY));
|
||||||
vispar.drawhexes =
|
vispar.drawhexes =
|
||||||
atoi (Tcl_GetVar (interp, "::viewoptions.drawhexes", TCL_GLOBAL_ONLY));
|
atoi (Tcl_GetVar (interp, "::viewoptions.drawhexes", TCL_GLOBAL_ONLY));
|
||||||
|
/*
|
||||||
vispar.shrink =
|
vispar.shrink =
|
||||||
atof (Tcl_GetVar (interp, "::viewoptions.shrink", TCL_GLOBAL_ONLY));
|
atof (Tcl_GetVar (interp, "::viewoptions.shrink", TCL_GLOBAL_ONLY));
|
||||||
|
*/
|
||||||
|
double hshrink = atof (Tcl_GetVar (interp, "::viewoptions.shrink", TCL_GLOBAL_ONLY));
|
||||||
|
if (hshrink != vispar.shrink)
|
||||||
|
{ vispar.shrink = hshrink; vispar.clipping.timestamp = NextTimeStamp();}
|
||||||
vispar.drawidentified =
|
vispar.drawidentified =
|
||||||
atoi (Tcl_GetVar (interp, "::viewoptions.drawidentified", TCL_GLOBAL_ONLY));
|
atoi (Tcl_GetVar (interp, "::viewoptions.drawidentified", TCL_GLOBAL_ONLY));
|
||||||
vispar.drawpointnumbers =
|
vispar.drawpointnumbers =
|
||||||
|
Loading…
Reference in New Issue
Block a user