Revisión | 1c61f02db32b42c92994901b88b3aa5e44a3dd60 (tree) |
---|---|
Tiempo | 2012-10-01 00:51:07 |
Autor | angeart <angeart@git....> |
Commiter | angeart |
Stageのワープに関するバグ修正(コメントアウト部分)
@@ -43,11 +43,11 @@ Stage::Stage(const tstring& model_name) : | ||
43 | 43 | float warpobj_scale = warpobj_handle_.property().get<float>("scale",12.5f); |
44 | 44 | if(warpobj_scale != 1.0f)MV1SetScale(warpobj_handle_.handle(), VGet(warpobj_scale, warpobj_scale, warpobj_scale)); |
45 | 45 | auto warpobj_push_it = warp_points_.begin(); |
46 | - while(!warpobj_handle_.CheckLoaded()); | |
47 | 46 | for( warpobj_push_it; warpobj_push_it != warp_points_.end(); ++warpobj_push_it) |
48 | 47 | { |
49 | 48 | auto tmp = ResourceManager::LoadModelFromName(unicode::ToTString(warpobj_name)); |
50 | - MV1SetPosition(tmp,*warpobj_push_it); | |
49 | + MV1SetScale(tmp.handle(), VGet(warpobj_scale, warpobj_scale, warpobj_scale)); | |
50 | + MV1SetPosition(tmp.handle(),*warpobj_push_it); | |
51 | 51 | warpobj_array_.push_back(tmp); |
52 | 52 | } |
53 | 53 | */ |