CEGUI Logo
This issue tracker is now in read-only mode. We migrated all our old bug reports to our bitbucket issue tracker
Please use our new issue tracker to report bugs. You can easily find all mantis tickets on our new issue tracker by selecting the appropriate bitbucket repo (CEGUI/CEED/Silly) and searching for the mantis ticket ID number.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001036CEGUICore library (CEGUIBase)public2014-07-11 21:382014-07-14 19:48
ReporterNickenstein79 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
PlatformAllOSAllOS VersionAll
Product VersionMercurial: v0-8 branch 
Target VersionFixed in Version 
Summary0001036: interpolateRelativeMultiply only works for interpolating floats
DescriptionThe interpolateRelativeMultiply method inside the TplLinearInterpolator template class only works for interpolating floats.

Passing higher types (such as UDim for animating a window's size/position with relative-multiply animation), will cause the value to be statically cast to a float, and hence result is garbage data and the object's properties get set to some nonsense value.
Steps To ReproduceAnimate some UDim property of a widgets (such as a button's size) using the Relative-Multiply technique.

Observe that the size property of the window gets set to {{0,0}, {0,0}} because of the problem described above.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001286)
Nickenstein79 (reporter)
2014-07-11 21:38

Assigning to myself
(0001287)
Nickenstein79 (reporter)
2014-07-11 21:38

Assigned to Nickenstein79
(0001288)
Nickenstein79 (reporter)
2014-07-11 21:39

I have fixed this locally, and tested that it doesn't break anything (sample demos, etc...)

About to do a pull request on the repo.
(0001293)
Kulik (administrator)
2014-07-13 14:16

Can't see the pull request anywhere. Please link to it here when you create it.
(0001296)
Nickenstein79 (reporter)
2014-07-14 19:48

Pull request generated:

https://bitbucket.org/cegui/cegui/pull-request/89/fix-for-issue-1036/diff [^]

- Issue History
Date Modified Username Field Change
2014-07-11 21:38 Nickenstein79 New Issue
2014-07-11 21:38 Nickenstein79 Note Added: 0001286
2014-07-11 21:38 Nickenstein79 Note Added: 0001287
2014-07-11 21:38 Nickenstein79 Status new => assigned
2014-07-11 21:39 Nickenstein79 Note Added: 0001288
2014-07-13 14:16 Kulik Note Added: 0001293
2014-07-14 19:48 Nickenstein79 Note Added: 0001296
Get Crazy Eddies GUI System at SourceForge.net. Fast, secure and Free Open Source software downloads


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker