The pre-existing model in the test world exhibits
the lens flare rendering bug without the fix in
this branch, so I added an extra model at a different
pose that does not exhibit the bug. It makes it
easier to confirm that the bug is fixed.
Signed-off-by: Steve Peters <email address hidden>
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 address hidden>