[Bf-blender-cvs] [e351c960898] master: Fix a wrong return type (float instead of double) in double2.hh
Howard Trickey
noreply at git.blender.org
Sun Sep 20 14:49:18 CEST 2020
Commit: e351c96089836815f88dccd1b3296fbbaa7e7412
Author: Howard Trickey
Date: Thu Sep 17 07:32:48 2020 -0400
Branches: master
https://developer.blender.org/rBe351c96089836815f88dccd1b3296fbbaa7e7412
Fix a wrong return type (float instead of double) in double2.hh
===================================================================
M source/blender/blenlib/BLI_double2.hh
===================================================================
diff --git a/source/blender/blenlib/BLI_double2.hh b/source/blender/blenlib/BLI_double2.hh
index 3466b946e73..313afd06d1b 100644
--- a/source/blender/blenlib/BLI_double2.hh
+++ b/source/blender/blenlib/BLI_double2.hh
@@ -51,7 +51,7 @@ struct double2 {
return &x;
}
- float length() const
+ double length() const
{
return len_v2_db(*this);
}
More information about the Bf-blender-cvs
mailing list