Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/collada/SkinInfo.cpp
| Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Lines | |||||
| { | { | ||||
| const std::string &id = node->getName(); | const std::string &id = node->getName(); | ||||
| return id.empty() ? node->getOriginalId().c_str() : id.c_str(); | return id.empty() ? node->getOriginalId().c_str() : id.c_str(); | ||||
| } | } | ||||
| /* This is used to store data passed in write_controller_data. | /* This is used to store data passed in write_controller_data. | ||||
| * Arrays from COLLADAFW::SkinControllerData lose ownership, so do this class members | * Arrays from COLLADAFW::SkinControllerData lose ownership, so do this class members | ||||
| * so that arrays don't get freed until we free them explicitly. */ | * so that arrays don't get freed until we free them explicitly. */ | ||||
| SkinInfo::SkinInfo() | SkinInfo::SkinInfo() = default; | ||||
| { | |||||
| /* pass */ | |||||
| } | |||||
| SkinInfo::SkinInfo(const SkinInfo &skin) | SkinInfo::SkinInfo(const SkinInfo &skin) | ||||
| : weights(skin.weights), | : weights(skin.weights), | ||||
| joint_data(skin.joint_data), | joint_data(skin.joint_data), | ||||
| unit_converter(skin.unit_converter), | unit_converter(skin.unit_converter), | ||||
| ob_arm(skin.ob_arm), | ob_arm(skin.ob_arm), | ||||
| controller_uid(skin.controller_uid), | controller_uid(skin.controller_uid), | ||||
| parent(skin.parent) | parent(skin.parent) | ||||
| ▲ Show 20 Lines • Show All 289 Lines • Show Last 20 Lines | |||||