Ignore:
Timestamp:
12/18/19 23:52:57 (5 years ago)
Author:
Maciej Komosinski
Message:

Ensure consistent rotation data when building a solid shapes model: use part.setRot(...) instead of part.rot=...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/model.cpp

    r896 r900  
    12391239                Orient o;
    12401240                o.lookAt(oj->part1->p - oj->part2->p);
    1241                 p->rot = o.getAngles();
     1241                p->setRot(o.getAngles());
    12421242                p->scale.x = oj->part1->p.distanceTo(oj->part2->p) / 2;
    12431243                p->scale.y = thickness;
Note: See TracChangeset for help on using the changeset viewer.