asafbibas / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Hotspots are not loaded from cur files #638

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If using a cur file the hotspot, that is saved within according to the file 
specification, is not loaded. 

Instead 0,0 is always used.

This is creating additional confusion, and troubleshooting work in the forums 
from time to time, also it makes user provided cursors kinda impossible.

Original issue reported on code.google.com by trillniz...@googlemail.com on 20 Mar 2014 at 8:40

GoogleCodeExporter commented 8 years ago
Prior discussion at 
http://hub.jmonkeyengine.org/forum/topic/fix-for-cursorloader-hotspot-loading-fo
r-cur-files/

I'm having difficulty reproducing this issue in 3.0.5 and trunk.  I have two 
CUR files created using RealWorld Cursor Editor.  In both cases, loadAsset() 
sets the JmeCursor's xHotSpot and yHotSpot correctly, even where they are 
non-zero.

(1) What JME version(s) have this issue?
(2) Can you provide an example CUR file which illustrates the issue? 

Original comment by sg...@sonic.net on 20 Mar 2014 at 4:28

GoogleCodeExporter commented 8 years ago
Correction: it looks like the yHotSpot is always set to height-1 in both 3.0.5 
and trunk.  So there's a reproducible issue here.

Google Code isn't letting me update the status to Open.  Be it known that I 
take ownership of this issue.

Original comment by sg...@sonic.net on 20 Mar 2014 at 4:45

GoogleCodeExporter commented 8 years ago
followup to: https://github.com/jMonkeyEngine/jmonkeyengine/issues/115

Original comment by sg...@sonic.net on 26 Mar 2014 at 7:56