| 185 | } |
| 186 | |
| 187 | MyGUI::IntPoint ImageExportSerializer::getFirstFramePoint(DataPtr _data) |
| 188 | { |
| 189 | if (_data->getType()->getName() != "Group") |
| 190 | return {}; |
| 191 | |
| 192 | if (!_data->getChilds().empty()) |
| 193 | { |
| 194 | DataPtr child = _data->getChildByIndex(0); |
| 195 | if (!child->getChilds().empty()) |
| 196 | { |
| 197 | return child->getChildByIndex(0)->getPropertyValue<MyGUI::IntPoint>("Point"); |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | return {}; |
| 202 | } |
| 203 | |
| 204 | } |
nothing calls this directly
no test coverage detected