forked from bartvdbraak/blender
Cycles: Remove using namespace hell
Please NEVER EVER use such a statement, it's only causing HUGE issues. What is even worse: it's not always possible to immediately see that the hell is coming from such a statement. There is still some statements in the existing code, will leave those for a later cleanup.
This commit is contained in:
parent
446ed355a5
commit
6d36e033ba
@ -92,7 +92,7 @@ namespace Far {
|
||||
|
||||
if(vert_edges.size() == 2) {
|
||||
float sharpness = refiner.getLevel(0).getEdgeSharpness(vert_edges[0]);
|
||||
sharpness = min(sharpness, refiner.getLevel(0).getEdgeSharpness(vert_edges[1]));
|
||||
sharpness = ccl::min(sharpness, refiner.getLevel(0).getEdgeSharpness(vert_edges[1]));
|
||||
|
||||
setBaseVertexSharpness(refiner, i, sharpness);
|
||||
}
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include "util_transform.h"
|
||||
#include "util_types.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
CCL_NAMESPACE_BEGIN
|
||||
|
||||
/* 3D BoundBox */
|
||||
|
Loading…
Reference in New Issue
Block a user