Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for opende heightfield and console spam (#3271)
* opende heightfield: fix memory access bug Port fix from bitbucket: odedevs/ode@63caf226abf3be2225972955bec828f65887886f Original message: oleh_derevenko#1921: Fixed: A bug with heightfield data assigned to a wrong field in dGeomHeightfieldSetHeightfieldData (bug report #88 by Luc). * Visual::CreateDynamicLine check connection Only call ConnectPreRender if a Visual doesn't already have a ConnectionPtr, since reassigning it may generate console errors like: [Event.cc:61] Warning: Deleting a connection right after creation. Make sure to save the ConnectionPtr from a Connect call. In particular, the OriginVisual calls CreateDynamicLine three times in succession, which may be a source of these console messages. Signed-off-by: Steve Peters <[email protected]>
- Loading branch information