summaryrefslogtreecommitdiff
path: root/scene/resources/packed_scene.h
AgeCommit message (Collapse)Author
2017-02-16Correct hash behavior for floating point numbersHein-Pieter van Braam
This fixes HashMap where a key or part of a key is a floating point number. To fix this the following has been done: * HashMap now takes an extra template argument Comparator. This class gets used to compare keys. The default Comperator now works correctly for common types and floating point numbets. * Variant implements ::hash_compare() now. This function implements nan-safe comparison for all types with components that contain floating point numbers. * Variant now has a VariantComparator which uses Variant::hash_compare() safely compare floating point components of variant's types. * The hash functions for floating point numbers will now normalize NaN values so that all floating point numbers that are NaN hash to the same value. C++ module writers that want to use HashMap internally in their modules can now also safeguard against this crash by defining their on Comperator class that safely compares their types. GDScript users, or writers of modules that don't use HashMap internally in their modules don't need to do anything. This fixes #7354 and fixes #6947.
2017-01-10Groundbreaking!! Godot resources can now be flagged to be local to the scene ↵Juan Linietsky
being edited! This means that each time this scene is instanced, the resource will be unique! As such, thanks to this, the following features were implemented: -ButtonGroup is no longer a control, it's now a resource local to the scene -ViewportTexture can be created from the editor and set to any object, making ViewportSprite and other kind of nodes obsolete!
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
2016-07-19Fixed properly not save signals that already exist in their base scenes, ↵Juan Linietsky
closes #5656
2016-07-19WIP bugfix for existing connectionsJuan Linietsky
2016-06-27Make most resources (save for packedscenes and scripts) reload if they ↵Juan Linietsky
change on disk. Closes #4059.
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-21Add support for placeholders in tscn, which was missing. Closes #3652Juan Linietsky
2016-01-23-Ability to retrieve state data from PackedScene, closes #3413Juan Linietsky
2016-01-14-Make sure scenes properly update when switching tabs, even if sub-instances ↵Juan Linietsky
changed. Fixes #3201
2016-01-12Fix situation where TSCN format might crash, closes #3062Juan Linietsky
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-13-scenes are properly reloaded when a dependency changes, fixes #2896Juan Linietsky
(it's clevery done so local changes to scenes are kept even if unsaved)
2015-11-28-Fixed bug with scene inheritance, should work againJuan Linietsky
-Proper .tscn and .tres parsing, should work, please test well!
2015-10-16-fixes and more fixes to new scene system, seems stable now..reduz
BUT DONT TRUST ME IT MAY STILL BREAK, USE WITH CARE!!
2015-10-10Large improvements on scene packing and managementreduz
-Ability to edit and keep changes of instanced scenes and sub-scenes -Ability to inherit from other scenes
2015-04-18Updated copyright year in all headersJuan Linietsky
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky