Until now, the SDK would retesellate the SVG when it was scaled by more than 250% (in either direction). Version 2.6.0.2 – released 13 August 2018Īdded a new system setting ( SystemSettings::PathTessellationThresholdRatio) that allows you to control how often does Coherent GT retesellates SVG paths. This results in a choice much closer to what you would normally expect / see in most browsers. Improved the algorithm which selects what font to use depending on the specified font-weight. Previously, doing console.log(myvector) would result in non-user friendly message.įixed a potential rare crash when multiple elements refer to the same preloaded image / live view. exposing std::vector to the data binding) will now be printed as standard JS arrays in the debugger. This caused elements to have multiple classes when only one was supposed to be had.įixed a bug which caused changes to the DOM through innerHTML to be ignored by the data binding system.įixed a bug which caused elements whose border-bottom-left-radius and border-bottom-right-radius differed to be rendered with the opposite corner’s value.ĭata bound arrays (e.g. Most were related to image data that incorrectly persisted through system reinitialization.įixed a crash due to buffer overflow in the data binding system.įixed a bug which caused data-bind-class to not remove classes when necessary if applied to an element, within a component, within a data-bind-for. If you have a custom backend, ask our support team for migration guidelines.įixed several memory leaks across the SDK. If you are running GT in a custom engine, please make sure to use the new versions of the backends (e.g. They were previously a custom implementation based on the now outdated Promise/A+ standard.Īdded docs about what to do to disable/sandbox the execution of JavaScript in cases when players can write HTML/JS for mods.Īs part of optimizing our rendering, changes were made to the rendering backends. Promises returned by engine.call / igger are now standard ES6 promises. This method forces the garbage collector to run immediately instead of whenever it decides. Setting it to true, keeps the current behaviour which is to use rpmalloc which in turn uses the user’s allocator.Īdded a new method to the system ( UISystem::RunGarbageCollection). Setting this to false will cause the SDK to directly call the user allocator. Tune with caution to your specific UI.Īdded a new option to the system settings ( SystemSettings::EnableInternalAllocator). If more than that memory is allocated for JavaScript, the garbage collector will become very aggressive and try to free as much as possible. This is a recommended limit on how much memory the JavaScript Virtual machine should take. Previously, some of these files might become corrupted if the download was interrupted.įixed a crash UISystem::UiserImagesChanged in async mode caused by a rare race condition.įixed loadings fonts on page reload when the same fonts were previously requested and the request was still in flight.įixed a PS4 crash when reinitializing the GT system while a networking request was in flight.įixed spamming the log on MacOS with OpenGL errors when using GT inside UGUI.įixed drawing the UI with respect to safe zones on UE 4.19 and before.Īdded support for dashed and dotted borders in CSS ( border-style: dashed/dotted ) and SVGs.Īdded a new option to the system settings ( SystemSettings::JSCHeapSize). Improved tracking of networking files downloaded to the disk cache. Previously, they would be hidden as if they had opacity: 0.įixed a rare crash in renoir::RenderingBackend::WrapUserTexture which would sometimes receive incorrect arguments.įixed a potential crash caused our internal memory allocator attempting to free memory for the already destroyed GT system.įixed a bug in the data binding system that would apply only one of multiple classes when using data-bind-class. Transparent elements having both background-color: transparent and a non-zero, non-one opacity will now be properly visible. Reduced memory usage of complex expression in the data binding system (e.g. See the docs for more detailsįixed a crash caused when no user logging interface is provided and the default logger doesn’t have write access to the directory. These correspond to the focus events with the same names and extend the set of available data binding events. Version 2.8.0.0 – released 14 January 2019Īdded 4 new data binding attributes – data-bind-focus / data-bind-blur / data-bind-focusin / data-bind-focusout.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |