Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 838 vs 839 for /trunk/Source Code/Graphs/SceneGraphNode.cpp

Diff revisions: vs.
  @@ -66,8 +66,8 @@
66 66 setComponent(SGNComponent::ComponentType::PHYSICS, new PhysicsComponent(*this, physicsGroup, pxContext));
67 67
68 68 PhysicsComponent* pComp = get<PhysicsComponent>();
69 - pComp->addTransformUpdateCbk(DELEGATE_BIND(&Attorney::SceneGraphSGN::onNodeTransform, std::ref(_sceneGraph), std::ref(*this)));
70 - pComp->addTransformUpdateCbk(DELEGATE_BIND(&SceneGraphNode::onTransform, this));
69 + pComp->addTransformUpdateCbk([this]() { Attorney::SceneGraphSGN::onNodeTransform(_sceneGraph, *this); });
70 + pComp->addTransformUpdateCbk([this]() { onTransform(); });
71 71 }
72 72
73 73 if (BitCompare(componentMask, to_uint(SGNComponent::ComponentType::BOUNDS))) {