TX 3.1.5 - Camera name not deserialized
by Giuseppe De Francesco · in Torque X 2D · 07/22/2010 (2:46 pm) · 9 replies
Build: 3.1.5 Release
Platform: Windows 7
Target: 2D Editor
Issues: The main Camera name is not deserialized so if I open a scene file and save it the camera name is lost, this is what is written:
<Camera2D name="">
To avoid this I have to write the camera name in the Editor's field before to save the scene file.
Steps to Repeat: Open a working scene and just save it again: the result is that the camera name is lost and the game crashes if executed (when looking for the camera by name).
Platform: Windows 7
Target: 2D Editor
Issues: The main Camera name is not deserialized so if I open a scene file and save it the camera name is lost, this is what is written:
<Camera2D name="">
To avoid this I have to write the camera name in the Editor's field before to save the scene file.
Steps to Repeat: Open a working scene and just save it again: the result is that the camera name is lost and the game crashes if executed (when looking for the camera by name).
About the author
In the software eng. field since 1981, in charge of R&D during last 10 years. IEEE Senior Member (and volunteer).
#2
08/24/2010 (3:09 am)
In the previous version it at least defaulted to "Camera", I guess it doesn't do that anymore either.
#3
08/25/2010 (7:39 pm)
I've run into this as well. I figured I was just doing something wrong...good to know I'm not. :)
#4
08/25/2010 (10:03 pm)
I thought it was a personal error. I have to type in the camera name every time before saving.
#5
The bug fix is available in Torque X CEV here:
trac2.xp-dev.com/TorqueX_3.1.5/wiki/TXB%20Camera%20Name%20Fix
Cheers,
Pino
09/08/2010 (4:33 pm)
Update:The bug fix is available in Torque X CEV here:
trac2.xp-dev.com/TorqueX_3.1.5/wiki/TXB%20Camera%20Name%20Fix
Cheers,
Pino
#6
09/08/2010 (4:39 pm)
Drat! I'm going to have to get a source license sooner than I thought. All of these little bug fixes makes it worth while. Thanks again Pino.
#7
Edit:
Well don't I feel sheepish. :) I didn't know a new one came out
09/08/2010 (5:12 pm)
I tried replacing that file in the .zip, but from there it wouldn't load up any of my other scene files. They just show up empty. I replaced my old one and it worked fine.Edit:
Well don't I feel sheepish. :) I didn't know a new one came out
#8
09/08/2010 (5:15 pm)
@Cosmic:I guess you don't have the last build of TXB, download the current 3.1.5 and install it ;)
#9
09/08/2010 (6:01 pm)
Note for WinRAR users: You need to open up WinRAR from the start menu, then navigate to the .zip file and click "Add" this will allow you to choose a file to add to the zip archive. There is no need to unzip and re-zip the files and doing so will most likely cause an error when loading up TXB.
Torque Owner Jason Fox