aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/packed_scene.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Duplicate Arrays and Dictionaries when instancing scene in editorBojidar Marinov2018-03-131-0/+2
| | | | | | Also, add deep (=false) parameter to Array.duplicate and Dictionary.duplicate Fixes #13971
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-2/+2
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Fixed resource setup handlingAndreaCatania2018-01-111-3/+1
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Added custom editor splash (including sponsor logo).Juan Linietsky2017-12-161-1/+1
|
* restored binary compatibility, which was broken in #14406Juan Linietsky2017-12-161-4/+9
|
* Improve duplication and saving of instanced scenesMatthias Hoelzl2017-12-161-1/+13
|
* Improve slang, especially in user-visible partsUnknown2017-12-051-1/+1
|
* -Implemented Proxy Textures (needed to solve the problem with ViewportTexture)Juan Linietsky2017-12-041-3/+3
| | | | -Properly use hierarchy to initialize resources local to scene (solves problem of GUI in 3D)
* Fix various assorted warningsHein-Pieter van Braam2017-09-081-4/+4
| | | | | Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.
* Fix typos 'a' and 'an'Poommetee Ketson2017-09-021-1/+1
|
* Dead code tells no talesRémi Verschelde2017-08-271-75/+2
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-6/+6
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-6/+6
|
* Make sure local to scene resources are initialized after loading all nodes, ↵Juan Linietsky2017-08-181-1/+7
| | | | fixes #9438
* Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-161-25/+25
| | | | Fixes #10244.
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-5/+5
|
* keep default exported script values unless overriden, closes #8127Juan Linietsky2017-08-061-0/+3
|
* Style: Apply clang-format on all filesRémi Verschelde2017-07-301-1/+1
| | | | Thus fixing some invalid changes that had still made it to the master branch.
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-1/+1
| | | | -Added system for feature overrides, it's pretty cool :)
* [#7212] Fixed missing 'Variant' return values in documentation.ducdetronquito2017-07-111-1/+1
|
* PackedScene: Fix wrong DEFVALIgnacio Etcheverry2017-04-141-1/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* Fix redundant connections saved in sub-inheritancePedro J. Estébanez2017-03-151-20/+27
|
* Fix node duplication in scene sub-inheritancePedro J. Estébanez2017-03-091-6/+19
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-607/+517
| | | | | | | | | | | | | | | | | | | | | | | | 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
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Correct hash behavior for floating point numbersHein-Pieter van Braam2017-02-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Many fixes to make exported scenes work better, still buggy.Juan Linietsky2017-02-151-0/+4
|
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-25/+25
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-1/+1
| | | | This saves typing and is a step towards fixing #56
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-8/+12
| | | | | 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.
* Few small fixes so tools=no and target=release compilesBastiaanOlij2017-01-101-2/+2
|
* Groundbreaking!! Godot resources can now be flagged to be local to the scene ↵Juan Linietsky2017-01-101-12/+58
| | | | | | | | | 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!
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-10/+10
| | | | renamed to PoolVector
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-28/+28
| | | | | | | | 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()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | 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!
* Fixed properly not save signals that already exist in their base scenes, ↵Juan Linietsky2016-07-191-28/+23
| | | | closes #5656
* WIP bugfix for existing connectionsJuan Linietsky2016-07-191-15/+104
|
* Remove unused variables (fourth pass) + dead codeRémi Verschelde2016-07-081-22/+0
| | | | Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
* Make both signals be ordered and samplelibrary items too, fixes scenes ↵Juan Linietsky2016-06-301-0/+4
| | | | changing for git, closes #5289
* Fixed bug in instance state ordering, closes #3904Juan Linietsky2016-06-281-1/+3
|
* Fix error storing path for children of instanced nodes in .tscn, fixes #4320 ↵Juan Linietsky2016-06-201-2/+1
| | | | fixes #4579 fixes #4580
* resolve numerical error when comparing instancing an inheritance to avoid ↵Juan Linietsky2016-06-121-3/+13
| | | | saving changed properties when they didn't, closes 4759
* -Added configuration warning system for nodesJuan Linietsky2016-05-171-1/+1
| | | | | -Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
* remove trailing whitespaceHubert Jarosz2016-03-091-3/+3
|