Changeset 926 for cpp


Ignore:
Timestamp:
05/25/20 15:08:03 (5 years ago)
Author:
Maciej Komosinski
Message:

Initialized hinge limits properly (e.g. when copying Joint objects)

File:
1 edited

Legend:

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

    r915 r926  
    644644        hinge_pos = src.hinge_pos;
    645645        hinge_rot = src.hinge_rot;
     646        hinge_limit_x[0] = src.hinge_limit_x[0];
     647        hinge_limit_x[1] = src.hinge_limit_x[1];
     648        hinge_limit_y[0] = src.hinge_limit_y[0];
     649        hinge_limit_y[1] = src.hinge_limit_y[1];
    646650        stamina = src.stamina;
    647651        stif = src.stif; rotstif = src.rotstif;
Note: See TracChangeset for help on using the changeset viewer.