Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006689opensim[REGION] OpenSim Corepublic2013-06-26 03:472014-03-26 06:59
ReporterGarmin Kawaguichi 
Assigned To 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006689: KeyframedMotion: KFM_TRANSLATION does not the job
DescriptionIn a lsl script, a command like:

or with only the translation:

the rotation wascorrectly executed but the tranlation did nothing.
Steps To ReproduceAll scripts that use the function llSetKeyframedMotion with KFM_TRANSLATION as KFM_DATA
Additional InformationTested with Dev Master opensim 22948 f78d2ef 240613

in OpenSim\Region\Framework\Scenes\KeyframeMotion.cs
Ln 495 in private void GetNextList()

k.Position = (k.Position * direction);
where k.Position is a vector3 and direction an int
Note: a vector3 cannot be multiplied by an int; the result is 0 or epsilon.

Solution: direction must be casted in float
k.Position = (k.Position * (float)direction);
TagsNo tags attached.
Git Revision or version numberopensim 22948 f78d2ef 240613
Run Mode Standalone (Multiple Regions)
Physics EngineODE
Script Engine
Environment.NET / Windows32
Mono VersionNone
Attached Files

- Relationships

-  Notes
Scooter (reporter)
2014-03-26 06:59

Had a weird run-in with this lately. Had some keyframed motion that was working fine on our group's main test servers, and an amazon server, but didn't work on a remote server, all running 0.7.6 on Windows. I then found on my local (WinXP) machine that it worked on the Diva install I used for testing but it didn't work on a basic 0.7.6 install. I was able to narrow it down to being fixable by copying over the OpenSim.Region.Framework.dll file from the Diva version.

Not sure yet why it was otherwise able to work fine on numerous other systems though, haven't pinned down a real difference between the ones where it works and where it doesn't.

- Issue History
Date Modified Username Field Change
2013-06-26 03:47 Garmin Kawaguichi New Issue
2014-03-26 06:59 Scooter Note Added: 0025589

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker