View Issue Details

IDProjectCategoryView StatusLast Update
0003530Spring engineGeneralpublic2013-03-20 19:35
ReporterCarRepairer Assigned TojK  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version93.0 
Summary0003530: When active command is to build a non-factory unit, image is rotated 90 degrees.
DescriptionIn 93 the assimp models no longer need to be rotated -90 degrees before saving, which is good. But the rotation is still wrong during the placement phase when there's an active command to build a unit/structure (non-factory). See screenshot attached and linked.

http://i.imgur.com/8FaALNs.jpg

Steps To ReproduceSave a model as dae, without any rotation so it appears normal in the model editor such as blender. Build the unit in Spring. When you click the unit icon to build, the image at your cursor is rotated 90 degrees forward (the old way). Once you place it, the rotation is correct.
TagsNo tags attached.
Attached Files
screen00056.jpg (Attachment missing)
Checked infolog.txt for Errors

Relationships

duplicate of 0003568 closedKloot the gosted building and ennemy ghosted not apply the .dae Z axis for up top 
related to 0003552 closed Y and Z axes are swapped for assimp 

Activities

CarRepairer

2013-03-14 06:49

reporter   ~0010048

The same thing applies to a ghosted enemy building:

http://i.imgur.com/YlWz0hc.jpg

CarRepairer

2013-03-14 17:13

reporter   ~0010053

I discovered that if I do the following, the issue is gone:

rotate model -90 degrees
apply rotation and scale
rotate it back to 0
save it
load it in spring

Now it shows properly both in ghosted mode and real mode. But this workflow isn't ideal, and I don't fully understand it.

jK

2013-03-20 19:35

developer   ~0010134

https://github.com/spring/spring/commit/d94909e784d1354059b07e15b1adb342c8d0b6ce

Issue History

Date Modified Username Field Change
2013-03-07 19:25 CarRepairer New Issue
2013-03-07 19:25 CarRepairer File Added: screen00056.jpg
2013-03-14 06:49 CarRepairer Note Added: 0010048
2013-03-14 17:13 CarRepairer Note Added: 0010053
2013-03-14 19:12 Kloot Relationship added related to 0003552
2013-03-14 19:13 Kloot Relationship added duplicate of 0003568
2013-03-20 19:35 jK Note Added: 0010134
2013-03-20 19:35 jK Status new => resolved
2013-03-20 19:35 jK Resolution open => fixed
2013-03-20 19:35 jK Assigned To => jK