summaryrefslogtreecommitdiff
path: root/scene/resources/packed_scene.cpp
AgeCommit message (Collapse)Author
2017-07-30Style: Apply clang-format on all filesRémi Verschelde
Thus fixing some invalid changes that had still made it to the master branch.
2017-07-19-Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky
-Added system for feature overrides, it's pretty cool :)
2017-07-11[#7212] Fixed missing 'Variant' return values in documentation.ducdetronquito
2017-04-14PackedScene: Fix wrong DEFVALIgnacio Etcheverry
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-15Fix redundant connections saved in sub-inheritancePedro J. Estébanez
2017-03-09Fix node duplication in scene sub-inheritancePedro J. Estébanez
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
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-02-15Many fixes to make exported scenes work better, still buggy.Juan Linietsky
2017-02-13Rename the _MD macro to D_METHODHein-Pieter van Braam
This new name also makes its purpose a little clearer This is a step towards fixing #56
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-10Few small fixes so tools=no and target=release compilesBastiaanOlij
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-07-08Remove unused variables (fourth pass) + dead codeRémi Verschelde
Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
2016-06-30Make both signals be ordered and samplelibrary items too, fixes scenes ↵Juan Linietsky
changing for git, closes #5289
2016-06-28Fixed bug in instance state ordering, closes #3904Juan Linietsky
2016-06-20Fix error storing path for children of instanced nodes in .tscn, fixes #4320 ↵Juan Linietsky
fixes #4579 fixes #4580
2016-06-12resolve numerical error when comparing instancing an inheritance to avoid ↵Juan Linietsky
saving changed properties when they didn't, closes 4759
2016-05-17-Added configuration warning system for nodesJuan Linietsky
-Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-21Add support for placeholders in tscn, which was missing. Closes #3652Juan Linietsky
2016-02-09-Added missing functions to the doc, fixes #3583Juan Linietsky
2016-02-09-Allow renaming root node of inherited sceneJuan Linietsky
2016-01-23-Some changes to how scenes and scripts are overriden in scene instance and ↵Juan Linietsky
inheritance -Fixes #3127 and also properly fixes #2958
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-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-12-12-force exporting of original script exported variables on overriden scriptsJuan Linietsky
-this works around the problem of scripts being reloaded and their properties lost -fixes #2958
2015-11-28-Fixed bug with scene inheritance, should work againJuan Linietsky
-Proper .tscn and .tres parsing, should work, please test well!
2015-11-13-better integration of ndee's themeJuan Linietsky
2015-10-17-fixes disability to remove instanced nodes when reopening scene. Fixes #2610Juan Linietsky
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-06-29Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky
and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
2015-05-04-More strict argument type-checking, will make many bugs visible, fixes #1809Juan Linietsky
-added NOTIFICATION_INSTANCED
2015-04-18Updated copyright year in all headersJuan Linietsky
2014-11-02Bug FixesJuan Linietsky
-=-=-=-=- -Fixed problem with scaling shapes (#827), related to not taking scale in consideration for calculating the moment of inertia -Added support for multiline strings (or comments) using """ -Save subscene bug, properties not being saved in root node (#806) -Fix Crash in CollisionPolygon2DEditor (#814) -Restored Ability to compile without 3D (#795) -Fix InterpolatedCamera (#803) -Fix UV Import for OBJ Meshes (#771) -Fixed issue with modifier gizmos (#794) -Fixed CapsuleShape gizmo handle (#50) -Fixed Import Button (not properly working in 3D) (#733) -Many misc fixes (though no new features)
2014-10-07-One liner fix for crash, line was removed accidentally.Juan Linietsky
2014-10-07Build System ChangesJuan Linietsky
-=-=-=-=-=-=-=-=-=-= Build System: -Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions). -Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test. Engine: -Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time). -Added ability to open scenes even if a node type was removed (will try to guess the closest type). -Removed deprecated node types.