| Server IP : 82.208.35.60 / Your IP : 216.73.217.116 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/cad/freecad/files/ |
Upload File : |
--- src/Mod/Raytracing/App/RayFeature.cpp.orig 2019-10-04 10:45:11 UTC
+++ src/Mod/Raytracing/App/RayFeature.cpp
@@ -81,19 +81,19 @@ App::DocumentObjectExecReturn *RayFeature::execute(voi
// This must not be done in PovTools::writeShape!
long t = Transparency.getValue();
const App::Color& c = Color.getValue();
- result << "// instance to render" << endl
- << "object {" << Name << endl
- << " texture {" << endl;
+ result << "// instance to render" << std::endl
+ << "object {" << Name << std::endl
+ << " texture {" << std::endl;
if (t == 0) {
- result << " pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<">}" << endl;
+ result << " pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<">}" << std::endl;
}
else {
float trans = t/100.0f;
- result << " pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<"> transmit "<<trans<<"}" << endl;
+ result << " pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<"> transmit "<<trans<<"}" << std::endl;
}
- result << " finish {StdFinish } //definition on top of the project" << endl
- << " }" << endl
- << "}" << endl ;
+ result << " finish {StdFinish } //definition on top of the project" << std::endl
+ << " }" << std::endl
+ << "}" << std::endl ;
// Apply the resulting fragment
Result.setValue(result.str().c_str());