Line 0
Link Here
|
|
|
1 |
--- src/dirnode.cpp.orig 2014-10-16 02:23:22 UTC |
2 |
+++ src/dirnode.cpp |
3 |
@@ -582,7 +582,7 @@ void RDirNode::calcRadius() { |
4 |
//this->dir_radius_sqrt = sqrt(dir_radius); //dir_radius_sqrt is not used |
5 |
|
6 |
// this->parent_radius = std::max(1.0, parent_circ / PI); |
7 |
- this->parent_radius = std::max(1.0, sqrt(total_file_area) * gGourceDirPadding); |
8 |
+ this->parent_radius = std::max(1.0f, (float)sqrt(total_file_area) * gGourceDirPadding); |
9 |
} |
10 |
|
11 |
float RDirNode::distanceToParent() const{ |