Changes in the ASToFra tools in the last 90 days

MR [ 357 ] - 2024-03-08 23:20:27.030000
Fixed issue with automatic animation direction
Fixed issue that automatic animation direction was not correct when rotation axis and desired rotation axis were opposite. #6555
Affected tools/features: ModelConverterX, Resolution::not a bug, writer

MR [ 356 ] - 2024-03-09 07:06:08.621000
Resolve: "Model loads without textures"
Fixed bug that textures were not loaded because the model.cfg file was not found with certain relative folder names. Closes #6561
Affected tools/features: ModelConverterX, Severity::bug, visualisation

MR [ 355 ] - 2024-03-05 10:54:17.004000
Resolve "Calculate slope of elevation data"
Added step to calculate derived data, like slope, from elevation raster data. Closes #6350
Affected tools/features: Severity::feature-request, scenProc

MR [ 354 ] - 2024-02-18 07:28:07.544000
Progress: "AI model not converted right"
Improved how visibility conditions are processed so that they work correctly for more (AI) aircraft models. Closes #6455
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 353 ] - 2024-02-18 05:47:54.092000
ATTO section length
Fixed bug in MDL reader that could cause too many bytes to be read in the ATTO section.
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 352 ] - 2024-02-17 22:28:03.102000
Resolve "Livery does not load"
Fixed issue that livery was not always read correctly when loading aircraft MDL file. When a model uses a nested model file with subfolders, the location of the model.cfg file was not determined correctly. Closes #6538
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 351 ] - 2024-02-17 07:14:26.127000
Resolve: "Object reference not set to an instance of an object"
Made SCASM reader robust for reading polygon with MoveTo/DrawTo commands when no color or texture has been set yet. Closes #6536
Affected tools/features: ModelConverterX, Severity::crash

MR [ 350 ] - 2024-02-16 22:16:10.847000
Resolve: "Add new attached object selection issue"
Fixed issue that when adding new attached object in the attached object editor, the first object in the list is always selected as well. Closes #6534
Affected tools/features: ModelConverterX, Severity::bug, UI, editor

MR [ 349 ] - 2024-02-16 21:51:13.394000
Resolve: "Texture does not load"
Fixed issue that texture could not be loaded by incorrectly calculated number of mipmaps. Closes #6533
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 348 ] - 2024-02-15 21:00:08.934000
Resolve: "Error loading MDL"
Fixed crash in preview when loading new object while attached object editor is open (now really fixed, one condition was missed in the previous fix). Closes #6528
Affected tools/features: ModelConverterX, Severity::bug, visualisation

MR [ 347 ] - 2024-02-15 06:30:28.295000
Resolve: "Error loading mdl"
Fixed crashes in preview when an editor with the option to highlight nodes was open when loading a new object file. Closes #6528
Affected tools/features: ModelConverterX, Severity::bug, visualisation

MR [ 346 ] - 2024-02-14 21:24:00.026000
Resolve: "Issue with NewObjectKeepView"
Fixed issue with ObjectChangeLevel NewObjectKeepView. When this level was used without having used NewObject at least once the preview was not shown correctly.
Affected tools/features: Samples, visualisation

MR [ 345 ] - 2024-02-12 21:38:54.795000
Resolve: "Animated parts with wrong scale"
Fixed issue that removing node scaling could result in invalid rotation animation keys. Closes #6527
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 344 ] - 2024-02-11 12:11:54.796000
Resolve: "Object reference is not instance of object"
Fixed crash when using ShadedTexPoly command when no texture is set in SCASM reader. Closes #6509
Affected tools/features: ModelConverterX, Severity::crash, reader

MR [ 343 ] - 2024-02-11 11:21:58.963000
Resolve: "Index out of range on DSF import"
Prevent crash when X-Plane DSF file contains object index that is not in the object list. Closes #6513
Affected tools/features: ModelConverterX, Severity::crash, reader

MR [ 342 ] - 2024-02-11 07:30:39.021000
Updated schedule rules
\[CI SKIP\]

MR [ 341 ] - 2024-02-10 21:54:25.660000
Resolve "Black polygon in effect"
Fixed issue that some FSX effect files were rendered with visible black polygons. Closes #6511
Affected tools/features: FXEditor, ModelConverterX, Severity::bug, reader, visualisation

MR [ 340 ] - 2024-02-10 08:36:09.502000
Resolve "Model collapsed"
Fixed issue that scenegraph optimization can lead to XtoMDL warnings and collapsed models in some cases. Closes #6523
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 339 ] - 2024-02-10 07:20:32.528000
Modified rules to run deploy schedule

MR [ 338 ] - 2024-02-06 21:29:21.847000
Removed unused code
Removed unused code that was used to generate the changelog before.

MR [ 337 ] - 2024-02-06 21:04:15.653000
Resolve: "No light point export to OBJ file"
Added ability to export point lights to X-Plane OBJ. The exact name of the named light can be set in the options, as well as if the color should be written or not (depending on the name light type that is used). Closes #6490
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 336 ] - 2024-02-04 07:32:26.291000
Removed code smells
Removed code smells

MR [ 335 ] - 2024-02-04 10:05:57.124000
Sonarqube pipeline integration
Improved SonarQube integration into the Gitlab pipeline

MR [ 334 ] - 2024-02-03 20:46:38.832000
Resolve: "Black polygon in effect
Added missing commit in the previous merge request. Fixed issues with rendering particle effects in ortho views (not free rotate view). Improved searching for FX files, when a model is inside a FS installation folder the FX file is read from that FS version. Closes #6511
Affected tools/features: FXEditor, ModelConverterX, Severity::bug, reader, visualisation

MR [ 333 ] - 2024-02-03 07:33:47.507000
Resolve "Black polygon in effect"
Fixed issue that blend mode for particles without a texture was processed incorrectly, this could result in black polygons in rendered particle effects. Also tix an issue in the fade logic. FXEditor GUI also has issue fixed that there was a large icon bar visible in the text editor part. Closes #6511
Affected tools/features: FXEditor, ModelConverterX, Severity::bug, reader, visualisation

MR [ 332 ] - 2024-01-29 22:41:42.621000
Resolve: "Issue loading models"
Fixed issue with finding aircraft.cfg and textures when the model folder uses sub-folders to structure various models. Improved performance of reading FS2004 aircraft MDL files. Closes #6508
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 331 ] - 2024-01-29 22:02:05.199000
Progress "AI model not converted right"
Fixed issue exporting FS2004 position animations with first key not zero to FSX format. Map FS2004 taxi light on the right effect. #6455
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 330 ] - 2024-01-28 07:30:07.872000
Resolve "Errors on model export"
Made logic to replace invalid characters on export to MDL file more robust as it did sometimes miss a texture. Also made sure that custom animation names do not contain brackets. Closes #6467
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 329 ] - 2024-01-27 08:34:27.577000
Resolve "Change object keep view"
Added option to interface to change an object and keep the current view. This is now also done when using undo in MCX. Closes #6507
Affected tools/features: ModelConverterX, Samples, Severity::feature-request, visualisation

MR [ 328 ] - 2024-01-27 07:52:33.800000
Progress: "AI model not converted right"
Modified scenegraph optimization logic so that a simpler structure results and XtoMDL does not drop animations on export. #6455
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 327 ] - 2024-01-25 20:52:04.069000
Resolve: "Viewer sample in Visual Studio"
Fixed error in viewer sample due to missing renderer state instance. Closes #6505
Affected tools/features: Samples, Severity::bug

MR [ 326 ] - 2024-01-23 16:03:40.678000
Resolve "Viewer sample in Visual Studio"
Modified constructor of preview control to work better in IDE designer. Closes #6505
Affected tools/features: Samples, Severity::bug

MR [ 325 ] - 2024-01-22 21:46:42.574000
Added test cases for emissive mode export
Closes #6497
Affected tools/features: ModelConverterX, writer

MR [ 324 ] - 2024-01-22 21:35:39.924000
Resolve: "Index out of range"
Made Wavefront OBJ reader more robust for models that have some parts with vertex colors and others without. Closes #6504
Affected tools/features: ModelConverterX, Severity::crash, reader

MR [ 322 ] - 2024-01-21 12:49:50.047000
Resolve "Der angegebene Schl³ssel war nicht im W÷rterbuch angegeben."
Made reading of FS2004 aircraft MDL robust for missing mouse rectangle definitions. A warning is shown in the event log in those cases. Closes #6474
Affected tools/features: ModelConverterX, Severity::crash, reader

MR [ 321 ] - 2024-01-21 11:39:46.312000
Resolve "Errors on model export"
Fixed XtoMDL errors caused by frame names in the X file when there is a dot in the name or by textures with an & in the name. Closes #6467
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 320 ] - 2024-01-21 07:51:54.616000
Resolve "Can't add node in hierarchy editor"
Fixed bug that it was no longer possible to add new nodes in the hierarchy editor. Closes #6498
Affected tools/features: ModelConverterX, Severity::bug, editor

MR [ 319 ] - 2024-01-21 07:00:39.179000
Progress "AI model not converted right"
Improvements to make sure that FS2004 AI aircraft model can be converted to FSX model with correct visibility conditions and such. #6455
Affected tools/features: ModelConverterX, Severity::bug, reader, writer

MR [ 318 ] - 2024-01-20 11:08:23.739000
Align heading values in XML output
Closes #6492
Affected tools/features: ModelConverterX, Severity::feature-request, scenProc, writer

MR [ 317 ] - 2024-01-20 08:49:16.039000
Modified error report for label names used in Gitlab

MR [ 316 ] - 2024-01-18 14:44:05.259000
Resolve: "Exception in material editor after updating material"
Fixed exception in material editor after updating a material property or applying a template. Closes #6491
Affected tools/features: ModelConverterX, Severity::bug, editor

MR [ 315 ] - 2024-01-17 20:24:34.515000
Resolve "Apply template in material editor"
Fixed bug that applying a material template in the material editor did not update the material correctly. Closes #6491
Affected tools/features: ModelConverterX, Severity::bug, editor

MR [ 314 ] - 2024-01-17 19:48:18.513000
Resolve "PNG alpha not read anymore"
Fixed issue that on texture reload the alpha channel of a texture could be lost. This happened to textures where the alpha channel was added later (e.g. because a COLLADA file has a transparency set in the material properties which was added by MCX to the texture). Closes #6488
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 313 ] - 2024-01-16 14:37:31.513000
Made sure app.config file is included in the samples packages.

MR [ 312 ] - 2024-01-14 20:18:26.503000
Resolve: "Merge tool and representations"
The object merge tool now merges the new object into the active representation instead of always as external. Closes #6484
Affected tools/features: ModelConverterX, Severity::feature-request, editor

MR [ 311 ] - 2024-01-14 19:48:04.430000
Resolve: "Index of range exception when reading MDL file"
Fixed an issue that when while parsing a MDL file which is somehow partly invalid that the ScasmConditionAnalyser code could throw an exception. Made the code more robust for this situation now.
Affected tools/features: ModelConverterX, Severity::crash, reader

MR [ 310 ] - 2024-01-12 05:59:08.994000
Resolve: "Errors on model export"
Fix bug that XtoMDL error were generated when a visibility condition or mouse rectangle had a space in the name. Closes #6467
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 309 ] - 2024-01-09 13:31:11.286000
Resolved: "Drag multiple nodes in the hierarchy editor"
Allow multiple nodes to be dragged to a new parent at once in the hierarchy editor. Also allow dragging of attached object nodes now. Closes #6458
Affected tools/features: ModelConverterX, Severity::feature-request, UI

MR [ 308 ] - 2024-01-09 12:32:31.491000
Updated labels used when reporting errors to Gitlab

MR [ 307 ] - 2024-01-09 08:37:29.717000
Resolve: "Arrow keys don't work in scenery editor"
Make sure object list in scenery edtior gets focus again after loading textures has finished. While the textures are loading the list is disabled, this removed the focus from the list. Closes #6471
Affected tools/features: ModelConverterX, Severity::bug, UI

MR [ 306 ] - 2024-01-08 21:12:19.575000
Allow removing multiple LOD at once in the LOD Creator.
Allow multiple LOD to be selected and removed in the LOD Creator. Changing an LOD is only allowed when one LOD is selected. Closes #6457
Affected tools/features: ModelConverterX, Severity::feature-request, UI

MR [ 305 ] - 2024-01-07 16:48:44.176000
Progress on "Issues in FSX after converting FS2004 models"
Fixed various issues in reading FS2004 aircraft.
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 304 ] - 2024-01-06 19:28:18.390000
Resolve: "Mouse rectangles lost on conversion to FS2004"
Fixed issue that copy tag was not updated when renaming mouse rectangles, resulting in incorrect definitions. Closes #6441
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 303 ] - 2024-01-06 15:46:43.320000
Editors show active representation
The hierarchy editor, material editor, animation editor and attached object editor only show the information about the active representationo now. When a different representation is selected in the preview the content of the editors will update accordingly.
Affected tools/features: ModelConverterX, UI

MR [ 302 ] - 2024-01-06 12:41:55.706000
Resolve "Issues in FSX after converting FS2004 models"
Made reading of visibility conditions from FS2004 models more robust, certain structures in the MDL file were not read correctly before resulting in parts with incorrect conditions. Closes #6432
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 301 ] - 2024-01-04 10:53:48.533000
Pipeline structure
Modified structure of build pipelines

MR [ 300 ] - 2024-01-04 09:57:54.924000
Resolve: "animation wobbles"
Fixed issue with animation and visibility conditions not being connected when exporting FS2004 aircraft again. Closes #6428
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 299 ] - 2024-01-03 08:18:26.037000
Resolve: "Exported model is transparent"
Improved material attribute mapping to FS2004 transparent/reflection texture. When source blend is one, a reflection map is always used to prevent planes from going fully transparent. Closes #6436
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 298 ] - 2024-01-03 07:03:47.347000
Resolve "Error when export to MDL file space in name"
FS2004 MDL exporters makes sure the X file contains no invalid characters that MakeMDL gives an error about (e.g. space, & or brackets). Closes #6435
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 297 ] - 2024-01-02 08:50:00.728000
Resolve "Default landing light color too bright"
Based light colours in light_mapping.ini file on the values found in the FSX FX files of the lights. Closes #6430
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 296 ] - 2024-01-02 07:21:54.858000
Resolve "Mouse rectangles missing"
Made sure that mouse rectangles without animations are also exported to FS2004. Closes #6431
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 295 ] - 2024-01-02 09:17:02.496000
Resolve "Wrong title when navigating beteen objects"
Prevent that a new object can be selected when the preview is still busy loading the textures of the current one. This could result in the preview object and the other editors showing different objects. Closes #6423
Affected tools/features: ModelConverterX, Severity::bug, UI

MR [ 294 ] - 2023-12-31 12:40:33.317000
Fixed error in deploy script
Fixed error in deploy script after recent change log changes.

MR [ 293 ] - 2023-12-31 13:22:49.275000
Resolve "Prop rotates around wrong axis"
Fixed issue that prop rotates along wrong axis when exporting FSX model to FS2004. This was caused by empty position animations with the same name. Closes #6427
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 292 ] - 2023-12-31 11:10:50.729000
Improved changelog
Made change log more clear. It only lists the merge requests now, including their description.

MR [ 291 ] - 2023-12-31 06:30:11.763000
Resolve "Nose gear animation"
FS2004 style nose gear animations are now mapped to FSX style on import. Closes #6389
Affected tools/features: ModelConverterX, Severity::bug, reader, writer

MR [ 290 ] - 2023-12-29 21:00:14.584000
Resolve "Object not defined error on exporting to FS2004"
Fixed object not defined error when checking mouse rectangles on export to FS2004. Closes #6421
Affected tools/features: ModelConverterX, Severity::crash, writer

MR [ 289 ] - 2024-01-04 09:57:55.377000
Resolve "65k limit and MakeMDL"
Modified FS2004 MDL writer to prevent MakeMDL errors for objects with close to 65k vertices. Also found some bugs in combining mouse rectangles and animations. Closes #6416
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 288 ] - 2023-12-29 17:06:19.723000
Resolve "Object reference not set to an instance of an object."
Prevent crash in CFG reader when the interior model failed to read correctly. Closes #6424
Affected tools/features: ModelConverterX, Severity::crash

MR [ 287 ] - 2023-12-29 16:41:03.447000
Resolve "Tooltip text lost"
Fixed issue that TooltipText element was lost when converting mouse rectangle definition from FSX to FS2004. Closes #6422
Affected tools/features: ModelConverterX, Severity::bug, reader, writer

MR [ 286 ] - 2023-12-29 12:35:12.652000
Resolve "Water rudder animation reversed"
Made sure reversed animations (as defined in the animation_mapping.ini file) are not only reversed on import from FS2004 objects, but also again on export to FS2004. Closes #6360
Affected tools/features: ModelConverterX, Severity::bug, reader, writer

MR [ 285 ] - 2023-12-29 08:18:49.260000
Resolve "The specified path or file name (or both) is too long. The full file name must be less than 260 characters and the directory name must be less than 248."
Fixed crash when texture name in MDL file contains a quote. Closes #6420
Affected tools/features: ModelConverterX, Severity::crash

MR [ 283 ] - 2023-12-27 08:00:14.737000
Resolve "Preview reload on opening scenery objects editor"
Fixed issue that preview reloads model when scenery objects editor is opened. Closes #6418
Affected tools/features: ModelConverterX, Severity::bug, UI

MR [ 282 ] - 2023-12-28 08:28:37.084000
Resolve "FS2004 export mouse rectangles"
Export mouse rectangles to FS2004 aircraft MDL files. Closes #6385 Closes #6410
Affected tools/features: ModelConverterX, Severity::feature-request, writer

MR [ 280 ] - 2023-12-26 08:14:40.392000
Resolve "Electra double animated parts"
Fixed issue that parts from a different representation could get exported in another representation. Closes #6415
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 279 ] - 2023-12-26 09:05:46.680000
Resolve "Drawing order issues"
Prevent parts with a transparent alpha from becoming too transparent in FS2004 model, but still have drawing order correct. Closes #6341
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 278 ] - 2023-12-26 07:19:23.103000
Resolve "Show full path of loaded file in title bar"
When model read via aircraft.cfg file, ensure that the title bar shows the MDL filepath and not the CFG filepath. Closes #6397
Affected tools/features: ModelConverterX, Severity::feature-request, UI

MR [ 277 ] - 2023-12-24 07:31:06.627000
Resolve "Cockpit windows not transparent"
When the alpha channel is used both for transparency and reflection prefer the transparency when exporting to FS2004 models. Closes #6401
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 275 ] - 2023-12-24 07:09:42.887000
Resolve "Animations travel different"
When reading FS2004 models make sure to use the deflection limits from the aircraft.cfg file for the control surfaces. Closes #6388
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 274 ] - 2023-12-23 10:56:56.623000
Resolve "VC texture flipped"
Fixed issue that when export to FS2004 internal model the VC textures got flipped. Closes #6393
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 273 ] - 2023-12-23 08:44:21.542000
Resolve "Prop pitch animation different"
Fixed issue with exporting prop pitch animations to FS2004 Closes #6386
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 272 ] - 2023-12-23 07:56:00.892000
Resolve "Livery not updated"
Made sure the livery is updated correctly in the preview when switching between different objects in a scenery Closes #6400
Affected tools/features: ModelConverterX, Severity::bug, UI

MR [ 271 ] - 2023-12-23 07:34:55.897000
Resolve "Show full path of loaded file in title bar"
Show the full filepath in the title of the main window. Closes #6397
Affected tools/features: ModelConverterX, Severity::feature-request, UI

MR [ 270 ] - 2023-12-23 07:13:46.223000
Resolve "O Ýndice estava fora do intervalo. Ele deve ser nÒo-negativo e menor que o tamanho da coleþÒo.\Nome do parÔmetro: index"
Made Wavefront OBJ reader robust for reading object with an empty group at the end Closes #6409
Affected tools/features: ModelConverterX, Severity::crash

MR [ 269 ] - 2023-12-23 06:52:36.928000
Resolve "Representation not remembered"
When an object is updated the active representation is remembered correctly now when the preview is refreshed. Closes #6399
Affected tools/features: ModelConverterX, Severity::feature-request, UI

MR [ 268 ] - 2023-12-21 21:40:17.757000
Resolve "Add prefer active representation option"
Added new value of PreferActive for exporting models with multiple representations. With the new value the active representation is exported. This value is the new default behaviour. Closes #6402
Affected tools/features: ModelConverterX, Severity::feature-request, writer

MR [ 267 ] - 2023-12-21 21:18:32.741000
Resolve "FS2004 64k limit internal/external"
Made sure FS2004 k4k limit is checked for external and internal representation seperately. Closes #6398
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 266 ] - 2023-12-19 11:56:34.327000
Resolve "X-Plane DSF references wrong OBJ files"
Made sure DSF exporter uses correct number of digits for objects with multiple materials. Closes #6395
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 265 ] - 2023-12-19 12:17:54.262000
Resolve "Drawing order issues"
Make sure FS2004 models have diffuse alpha color set for transparent textures so that MakeMDL can sort the parts correctly. Closes #6341
Affected tools/features: ModelConverterX, Severity::bug, writer

MR [ 264 ] - 2023-12-17 20:26:51.692000
Resolve "Tire animations not working"
Improved searching for animation names when reading FSX MDL file, not only check the modeldef.xml file by GUID. Closes #6387
Affected tools/features: ModelConverterX, Severity::bug, reader

MR [ 263 ] - 2023-12-17 09:47:13.467000
Removed code smells
Removed code smells

MR [ 262 ] - 2023-12-16 08:00:22.748000
Fixed crash in SplitGrid step when bounding box argument has invalid input.
Fixed crash in SplitGrid step when bounding box argument has invalid input.
Affected tools/features: Severity::crash, scenProc

MR [ 237 ] - 2023-12-16 21:44:43.093000
Resolve "FS2004 export VC"
Read different representations of model into one object (e.g. external and internal representation). FS2004 MDL exporter does write internal representation (VC) as well now. Closes #6337
Affected tools/features: ModelConverterX, Severity::feature-request, reader, writer