.. | .. |
---|
881 | 881 | |
---|
882 | 882 | if (marked && Globals.isLIVE() && live && |
---|
883 | 883 | //TEMP21aug2018 |
---|
884 | | - (Globals.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW) && |
---|
| 884 | + (Globals.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW || !Globals.COMPUTESHADOWWHENLIVE) && |
---|
885 | 885 | currentframe != Globals.framecount) |
---|
886 | 886 | { |
---|
887 | 887 | currentframe = Globals.framecount; |
---|
.. | .. |
---|
966 | 966 | if (material == null || material.multiply) |
---|
967 | 967 | return true; |
---|
968 | 968 | |
---|
| 969 | + // Transparent objects are dynamic because we have to sort the triangles. |
---|
969 | 970 | return material.opacity > 0.99; |
---|
970 | 971 | } |
---|
971 | 972 | |
---|
.. | .. |
---|
5750 | 5751 | support = support; |
---|
5751 | 5752 | |
---|
5752 | 5753 | //boolean usecalllists = IsStatic() && GetBRep() != null && (!CameraPane.SUPPORT || support == null || !link2master); // !(this instanceof cSpring) && !(this instanceof BezierPatch); |
---|
5753 | | - boolean usecalllists = IsLive(); // IsStatic() && GetBRep() != null && (!CameraPane.SUPPORT || support == null) && !link2master; // !(this instanceof cSpring) && !(this instanceof BezierPatch); |
---|
| 5754 | + boolean usecalllists = !IsLive(); // IsStatic() && GetBRep() != null && (!CameraPane.SUPPORT || support == null) && !link2master; // !(this instanceof cSpring) && !(this instanceof BezierPatch); |
---|
5754 | 5755 | |
---|
5755 | 5756 | if (!usecalllists && bRep != null && bRep.displaylist > 0) |
---|
5756 | 5757 | { |
---|
.. | .. |
---|
5771 | 5772 | |
---|
5772 | 5773 | if (!selectmode && //display.DrawMode() != display.SELECTION && |
---|
5773 | 5774 | //(touched || (bRep != null && bRep.displaylist <= 0))) |
---|
5774 | | - (Globals.isLIVE() || touched && (bRep != null && bRep.displaylist <= 0))) |
---|
| 5775 | + (Globals.isLIVE() && Globals.COMPUTESHADOWWHENLIVE || touched && (bRep != null && bRep.displaylist <= 0))) |
---|
5775 | 5776 | { |
---|
5776 | 5777 | Globals.lighttouched = true; |
---|
5777 | 5778 | } // all panes... |
---|