Fixed a typo in a Visual Server var name (#8977)
This commit is contained in:
parent
bb20f230ad
commit
e0befd2f23
2 changed files with 5 additions and 5 deletions
|
@ -38,11 +38,11 @@ Rasterizer *Rasterizer::create() {
|
|||
return _create_func();
|
||||
}
|
||||
|
||||
RasterizerStorage *RasterizerStorage::base_signleton = NULL;
|
||||
RasterizerStorage *RasterizerStorage::base_singleton = NULL;
|
||||
|
||||
RasterizerStorage::RasterizerStorage() {
|
||||
|
||||
base_signleton = this;
|
||||
base_singleton = this;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
|
|
@ -493,7 +493,7 @@ public:
|
|||
|
||||
virtual void update_dirty_resources() = 0;
|
||||
|
||||
static RasterizerStorage *base_signleton;
|
||||
static RasterizerStorage *base_singleton;
|
||||
RasterizerStorage();
|
||||
virtual ~RasterizerStorage() {}
|
||||
};
|
||||
|
@ -806,7 +806,7 @@ public:
|
|||
case Item::Command::TYPE_MESH: {
|
||||
|
||||
const Item::CommandMesh *mesh = static_cast<const Item::CommandMesh *>(c);
|
||||
Rect3 aabb = RasterizerStorage::base_signleton->mesh_get_aabb(mesh->mesh, mesh->skeleton);
|
||||
Rect3 aabb = RasterizerStorage::base_singleton->mesh_get_aabb(mesh->mesh, mesh->skeleton);
|
||||
|
||||
r = Rect2(aabb.pos.x, aabb.pos.y, aabb.size.x, aabb.size.y);
|
||||
|
||||
|
@ -814,7 +814,7 @@ public:
|
|||
case Item::Command::TYPE_MULTIMESH: {
|
||||
|
||||
const Item::CommandMultiMesh *multimesh = static_cast<const Item::CommandMultiMesh *>(c);
|
||||
Rect3 aabb = RasterizerStorage::base_signleton->multimesh_get_aabb(multimesh->multimesh);
|
||||
Rect3 aabb = RasterizerStorage::base_singleton->multimesh_get_aabb(multimesh->multimesh);
|
||||
|
||||
r = Rect2(aabb.pos.x, aabb.pos.y, aabb.size.x, aabb.size.y);
|
||||
|
||||
|
|
Loading…
Reference in a new issue