Merge remote-tracking branch 'remotes/origin/scene_manipulators'

Disabled the gizmos.
This commit is contained in:
bubnikv 2018-06-19 16:12:36 +02:00
commit 6fef5a07ab
2 changed files with 1 additions and 2 deletions

View File

@ -103,7 +103,7 @@ double Polygon::area() const
double a = 0.; double a = 0.;
for (size_t i = 0, j = n - 1; i < n; ++i) { for (size_t i = 0, j = n - 1; i < n; ++i) {
a += double(points[j].x + points[i].x) * double(points[i].y - points[j].y); a += ((double)points[j].x + (double)points[i].x) * ((double)points[i].y - (double)points[j].y);
j = i; j = i;
} }
return 0.5 * a; return 0.5 * a;

View File

@ -54,7 +54,6 @@ _constant()
int region_volumes_count() int region_volumes_count()
%code%{ RETVAL = THIS->region_volumes.size(); %}; %code%{ RETVAL = THIS->region_volumes.size(); %};
Ref<Print> print(); Ref<Print> print();
Ref<ModelObject> model_object(); Ref<ModelObject> model_object();
Ref<StaticPrintConfig> config() Ref<StaticPrintConfig> config()