Merge branch 'master' into 3d_surface_perf

This commit is contained in:
sliptonic
2020-04-06 14:33:26 -05:00
committed by GitHub
9 changed files with 83 additions and 21 deletions

View File

@@ -251,6 +251,9 @@
<property name="text">
<string>Two-side rendering</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0">
<cstring>TwoSideRendering</cstring>
</property>

View File

@@ -246,7 +246,7 @@ ViewProviderPartExt::ViewProviderPartExt()
("User parameter:BaseApp/Preferences/Mod/Part");
NormalsFromUV = hPart->GetBool("NormalsFromUVNodes", NormalsFromUV);
long twoside = hPart->GetBool("TwoSideRendering", false) ? 1 : 0;
long twoside = hPart->GetBool("TwoSideRendering", true) ? 1 : 0;
// Let the user define a custom lower limit but a value less than
// OCCT's epsilon is not allowed