2024-04-20 00:21 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003530Spring engineGeneralpublic2013-03-20 19:35
ReporterCarRepairer 
Assigned TojK 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version93.0 
Target VersionFixed in Version 
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.
Checked infolog.txt for Errors
Attached Files

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

-Notes

~0010048

CarRepairer (reporter)

The same thing applies to a ghosted enemy building:

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

~0010053

CarRepairer (reporter)

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.

~0010134

jK (developer)

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

-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
+Issue History