summaryrefslogtreecommitdiffstats
path: root/scene/resources/packed_scene.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added a more detailed error message when instatiating a scene with missing ↵Raffaele Picca2024-09-161-2/+2
| | | | export properties.
* Merge pull request #96144 from SaracenOne/reimport_owner_instanceRémi Verschelde2024-09-081-19/+0
|\ | | | | | | Make reimported models reimport their owner.
| * Make reimported models reimport their owner.Saracen2024-09-081-19/+0
| | | | | | | | | | | | Changes the behaviour of the scene hot-reload system so that if the scene which needs to be reimported is owned by another instance, reload that instance instead.
* | Implement typed dictionariesThaddeus Crews2024-09-041-15/+102
|/
* Fix saving subresources of nodesBlueCube33102024-08-281-1/+1
|
* Merge pull request #94954 from raulsntos/mark-internal-propertiesRémi Verschelde2024-08-281-1/+1
|\ | | | | | | Mark underscored properties as internal
| * Mark underscored properties as internalRaul Santos2024-07-301-1/+1
| | | | | | | | | | | | | | | | These properties look like they were intended to be internal but they were missing the `PROPERTY_USAGE_INTERNAL` flag. - `PackedScene::_bundled` - `PortableCompressedTexture2D::_data` - `ImporterMesh::_data`
* | Allow live reloading of built-in scriptskobewi2024-07-061-0/+10
|/
* Speed up scene group scanning for text sceneskobewi2024-06-291-0/+50
|
* Fix default NodePaths saved in scenekobewi2024-06-031-1/+1
|
* make InstancePlaceholder in charge of node reference resolutionAdriano Orioli2024-05-281-0/+10
|
* Use Core/Scene stringnames consistentlykobewi2024-05-131-1/+0
|
* Add shorthand for using singleton string nameskobewi2024-05-111-1/+1
|
* Merge pull request #88741 from ↵Rémi Verschelde2024-05-071-1/+8
|\ | | | | | | | | | | adamscott/fix-shared-variables-of-inherited-scenes-redux Fix shared exported variables of inherited scenes
| * Fix shared exported variables of inherited scenesAdam Scott2024-02-241-1/+8
| |
* | Disable all 3D nodes, physics, and resources when compiling without 3DAaron Franke2024-03-111-0/+2
| |
* | Merge pull request #88426 from Rindbee/fix-inherited-scenes-produce-errorsRémi Verschelde2024-03-101-13/+27
|\ \ | | | | | | | | | Fix inherited scenes produce errors in editor when `editable_children` is true
| * | Fix inherited scenes produce errors in editor when "editable_children" is true风青山2024-03-101-13/+27
| |/ | | | | | | | | | | | | Since the same argument is used, `SceneState::get_node_deferred_nodepath_properties()` should use similar logic to `SceneState::get_property_value()`. Make `SceneState::get_property_value()` to return whether the property is deferred.
* | Merge pull request #88664 from RandomShaper/res_load_modesRémi Verschelde2024-02-291-0/+5
|\ \ | | | | | | | | | Enhance cache modes in resource loading
| * | Enhance cache modes in resource loadingPedro J. Estébanez2024-02-261-0/+5
| |/ | | | | | | | | | | | | - Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads. - Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008). - Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669, #82830). - Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
* | Merge pull request #87268 from Wyxaldir/masterRémi Verschelde2024-02-291-26/+82
|\ \ | |/ |/| | | Fix for `resource_local_to_scene` in arrays.
| * Fixes #71243. Resources that have local_to_scene enabled now properly work ↵Wyxaldir2024-02-211-26/+82
| | | | | | | | inside arrays and dictionaries.
* | Allow opening scenes with missing scene dependencykobewi2024-02-131-12/+33
| |
* | Replace error checks against `size` with `is_empty`A Thousand Ships2024-02-091-1/+1
|/
* Implement project-wide node groupsStanislav Labzyuk2023-12-191-0/+38
|
* Provide more context when scene fails to loadkobewi2023-11-201-2/+2
|
* Merge pull request #81737 from Mickeon/fix-connection-inherited-packed-sceneRémi Verschelde2023-10-241-1/+1
|\ | | | | | | Fix internal `CONNECT_INHERITED` being saved in PackedScene & Make Local
| * Fix internal CONNECT_INHERITED being saved in PackedScene & Make LocalMicky2023-10-031-1/+1
| |
* | Fix crash on recovered orphaned nodes.Saracen2023-10-191-1/+1
|/
* Fix the behavior of the resource property of the sub-scene root node on ↵Rindbee2023-08-181-14/+58
| | | | | | | | | | | | | instantiation The sub-scene root node will be set successively in the sub-scene and the main scene. The PR is simply to determine intent from the record. Mainly the cases when `resource_local_to_scene` is enabled in main scene. When updating resources according to the records of the main scene, use the `scene_unique_id` in the main scene to prevent the ID of the resource from changing continuously when saving the scene.
* Fix index in loading of `Array[Node]`Ninni Pipping2023-06-191-44/+14
|
* Safe-guard against missing node arrayskobewi2023-06-141-1/+4
|
* Merge pull request #77750 from RandomShaper/tidy_shader_data_itemsRémi Verschelde2023-06-131-1/+31
|\ | | | | | | Let editor workaround a case of inconsistency in compound scenes
| * Let editor workaround a case of inconsistency in compound scenesPedro J. Estébanez2023-06-131-1/+31
| |
* | Use NULL instead of COND checks when appropriateNinni Pipping2023-06-101-3/+3
|/ | | | Restricted to scene
* Fix typed array exportajreckof2023-05-211-27/+34
| | | | | | | | | | Apply suggestions from code review to squash later Revert "Fix typed array export... again" This reverts commit da8d6734fbc31f68e7e822f37fd239a92ac79b34. Co-Authored-By: Tomek <kobewi4e@gmail.com>
* Fix PackedScenes created with PackedScene.pack() have their exported nodes ↵VolTer2023-04-131-10/+9
| | | | become null
* Fix typed array exportkobewi2023-04-121-10/+67
| | | | Co-authored-by: Guilherme Sousa <guilherme.sousa1994@gmail.com>
* Add unbinds to scnkobewi2023-02-011-1/+5
|
* GDScript: Fix issues with typed arraysDmitrii Maganov2023-01-311-1/+13
|
* Merge pull request #57606 from SaracenOne/update_on_reimportRémi Verschelde2023-01-231-0/+19
|\ | | | | | | Update instances of scenes which have been reimported.
| * Update instances of scenes which have been reimported.SaracenOne2023-01-161-0/+19
| |
* | Use range iterators in LocalVector loopskobewi2023-01-211-2/+1
|/
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Fix unable to disconnect signal in Editor once createdMicky2022-12-081-1/+1
| | | | Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
* Add PackedScene::reload_from_file() overrideAdam Scott2022-11-281-0/+53
|
* Remove more instances of 'instance' being used as a verbVolTer2022-11-161-9/+9
|
* Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signalsRémi Verschelde2022-10-141-1/+5
|\ | | | | | | Do not allow editing Scene-inherited signal connections
| * Do not allow editing Scene-inherited signal connectionsMicky2022-10-131-1/+5
| | | | | | | | Inherited connections are also highlighted with the warning color in the Node dock.
* | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-5/+5
|/ | | | change warnings=all to use /W4.