OSDN Git Service
(root)
/
qtgeoviewer
/
QtGeoViewer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
482982d
)
スキニングの高速化
Release4.13_2
author
qw_fuku
<fkhideaki@gmail.com>
Tue, 10 Feb 2015 16:57:32 +0000
(
01:57
+0900)
committer
qw_fuku
<fkhideaki@gmail.com>
Tue, 10 Feb 2015 16:57:32 +0000
(
01:57
+0900)
Src/LibQtGeoViewerCore/GeomObject.cpp
patch
|
blob
|
history
diff --git
a/Src/LibQtGeoViewerCore/GeomObject.cpp
b/Src/LibQtGeoViewerCore/GeomObject.cpp
index
ac09474
..
07b1808
100644
(file)
--- a/
Src/LibQtGeoViewerCore/GeomObject.cpp
+++ b/
Src/LibQtGeoViewerCore/GeomObject.cpp
@@
-169,6
+169,9
@@
void GeomObject::ApplyTrans(SceneNode& n, const lm::matrix4f& trans, int a_frame
for (int mid : n.m_MeshIDs)
{
MeshBuf& mb = m_MeshAry[mid];
+ if (!mb.m_Bones.m_Bones.empty())
+ continue;
+
mb.m_Mesh.ApplyTransform(trans);
}