Removed debug statement.
Added return statement.
This commit is contained in:
parent
64e81d1960
commit
807bcfb8e0
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ do_property_randomize (const SGPropertyNode * arg)
|
|||
double min = arg->getDoubleValue("min", DBL_MIN);
|
||||
double max = arg->getDoubleValue("max", DBL_MAX);
|
||||
prop->setDoubleValue(sg_random() * (max - min) + min);
|
||||
std::cerr << "Random value is " << prop->getDoubleValue() << std::endl;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue