You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
I came across this code today while trying to determine how I should set up the worldTransform_ for the DrawableSourceBatch, and I thought it may have been a bug. A quick search in my IDE for C++ usages (which doesn't always find all of them) gave no other cases where the worldTransform_ for the batch is set to a nullptr other than this case when the StaticModel has a model set without a node. Everywhere else seems to set it to a value or &Matrix3x4::IDENTITY. Not sure if it's actually a bug, but I thought it might be since it seems to say that there is 1 worldTransform matrix (the default) but the array is a nullptr.
I came across this code today while trying to determine how I should set up the
worldTransform_
for theDrawable
SourceBatch
, and I thought it may have been a bug. A quick search in my IDE for C++ usages (which doesn't always find all of them) gave no other cases where theworldTransform_
for the batch is set to anullptr
other than this case when theStaticModel
has a model set without a node. Everywhere else seems to set it to a value or&Matrix3x4::IDENTITY
. Not sure if it's actually a bug, but I thought it might be since it seems to say that there is 1 worldTransform matrix (the default) but the array is anullptr
.https://github.com/urho3d/Urho3D/blob/4075d36fe75bf834410c80c9207d6055e8b82761/Source/Urho3D/Graphics/StaticModel.cpp#L255-L261
The text was updated successfully, but these errors were encountered: