Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/collada/ArmatureImporter.cpp
| Context not available. | |||||
| finished_joints.push_back(node); | finished_joints.push_back(node); | ||||
| be.set_chain_length(chain_length + 1); | be.set_chain_length(chain_length + 1); | ||||
| bone->inherit_scale_mode = be.get_inherit_scale_mode(); | |||||
| return chain_length + 1; | return chain_length + 1; | ||||
| } | } | ||||
| Context not available. | |||||
| be->set_use_connect(connect_type); | be->set_use_connect(connect_type); | ||||
| be->set_leaf_bone(true); | be->set_leaf_bone(true); | ||||
| char scale_inherit_type; | |||||
| bool has_scale = et->setData("inherit_scale_mode", &scale_inherit_type); | |||||
| if (has_scale) { | |||||
| be->set_inherit_scale_mode(scale_inherit_type); | |||||
| } | |||||
| return *be; | return *be; | ||||
| } | } | ||||
| Context not available. | |||||