summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-08-28Merge pull request #64526 from Rindbee/improve-packed-scene-instantiateRémi Verschelde
Improve PackedScene instantiate
2022-08-28Improve PackedScene instantiateRindbee
Make `resource_local_to_scene` behave as described in the documentation. (If I understand correctly, the following **instance** refers to **the instance of the sub-scene**.) https://github.com/godotengine/godot/blob/2e24b76535dceb9cf18ab8ece3304ed92948c1b5/doc/classes/Resource.xml#L70-L72 If the resources of the sub-scene are modified in the main scene, the modified resources will be recorded in the `tscn` file of the main scene. And the root node of the sub-scene will be set twice. 1. In the main scene, when encountering a sub-scene, the sub-scene will be initialized first; 2. Then use the resources in the main scene to reset the root node of the sub-scene. This may make `resource_local_to_scene` not work as expected. The resources cannot be shared between the sub-scene root node and other ordinary nodes in the sub-scene. Yes, if the resources have `resource_local_to_scene` enabled, this patch treats the modified resources of the sub-scene root node as resources in the sub-scene, not in the main scene. Although the modifications are recorded in the `tscn` file of the main scene.
2022-08-27Implement custom non-trivial shader functionsPatrick Exner
2022-08-27Add optimization for Animation::ValueTrackSilc Renew
2022-08-27Add linear/cubic angle interpolation to Animation interpolation typeSilc Renew
2022-08-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-26Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0Rémi Verschelde
2022-08-26Merge pull request #64243 from bruvzg/multiline_textmeshRémi Verschelde
2022-08-26Merge pull request #64305 from bruvzg/ts_reset_dataRémi Verschelde
2022-08-26Merge pull request #64879 from TokageItLab/cubic-to-cubicintimeRémi Verschelde
Replace `Cubic` to `CubicInTime` in the animation track interpolation type
2022-08-26Rename ParticlesMaterial to ParticleProcessMaterialMicky
Also affects their file names, related classes and documentation.
2022-08-26Make Cubic to CubicInTime and reduce items in the track intrp typeSilc Renew
2022-08-25Merge pull request #64820 from Chaosus/shader_fix_varyingsRémi Verschelde
2022-08-25Allow using integer varyings with `flat` interpolation modifierYuri Rubinsky
2022-08-25Merge pull request #64801 from clayjohn/plane-quadRémi Verschelde
Remove QuadMesh and add orientation parameter to PlaneMesh
2022-08-24Remove QuadMesh and add orientation parameter to PlaneMeshclayjohn
2022-08-25Fix ParticlesMaterial build after #61238Rémi Verschelde
2022-08-25Merge pull request #61238 from ↵Rémi Verschelde
Calinou/particlesmaterial-add-fade-on-contact-collision-mode Add "Hide on Contact" collision mode to ParticlesMaterial
2022-08-24Extract editor color map and simplify SVG color conversionYuri Sizov
2022-08-24Merge pull request #64009 from KoBeWi/arrayy_lmaoRémi Verschelde
Replace Array return types with TypedArray (part 2)
2022-08-23Replace Array return types with TypedArray 2kobewi
2022-08-23Merge pull request #64647 from TokageItLab/auto-tangentRémi Verschelde
2022-08-23Merge pull request #63854 from TokageItLab/auto-bone-mappingRémi Verschelde
2022-08-23Merge pull request #64640 from aaronfranke/skeleton-cleanupRémi Verschelde
2022-08-23Add bezier preset and refactor bezier editorSilc Renew
Co-authored-by: Razoric480 <razoric480@gmail.com>
2022-08-23Add simple auto mapping to BoneMapperSilc Renew
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2022-08-23Add font LCD sub-pixel anti-aliasing support.bruvzg
2022-08-22Replace Array return types with TypedArraykobewi
2022-08-22Merge pull request #58600 from Calinou/material-triplanar-sharpness-clampRémi Verschelde
2022-08-22Merge pull request #64339 from YuriSizov/core-multilevel-validate-propertyRémi Verschelde
2022-08-22Merge pull request #64132 from TokageItLab/fix-optimizerRémi Verschelde
2022-08-22Merge pull request #60309 from The-O-King/octRémi Verschelde
2022-08-22Merge pull request #64642 from aaronfranke/mesh-cleanupRémi Verschelde
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-22Merge pull request #63602 from TokageItLab/cubic-interp-timeRémi Verschelde
2022-08-22Merge pull request #64553 from RedMser/fix-property-validation-refactorRémi Verschelde
2022-08-20Clean up mesh include code and commentsAaron Franke
2022-08-19Clean up include guards in 3D skeleton modification codeAaron Franke
2022-08-19Remove requirement to have vertex positions when creating a mesh. Meshes can ↵clayjohn
now be constructed from an index buffer alone
2022-08-19Add "Hide on Contact" collision mode to ParticlesMaterialHugo Locurcio
This can be used to make particles disappear when colliding, rather than bouncing around or sticking to surfaces. This is useful for rain particles which should not be able to go through floors/ceilings, but shouldn't stick to surfaces either.
2022-08-19Merge pull request #64595 from mhilbrunner/ergo-proxyYuri Sizov
Unexpose ProxyTexture
2022-08-19Merge pull request #64334 from YuriSizov/core-bind-property-revert-methodsYuri Sizov
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-19Make `cubic_interpolate()` consider key time in animationSilc Renew
2022-08-19Unexpose ProxyTextureMax Hilbrunner
2022-08-19Merge pull request #63950 from bruvzg/menu_bar3Max Hilbrunner
Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
2022-08-18Merge pull request #64156 from bruvzg/sys_msdfClay John
Allow MSDF rendering for system fonts, fix crash on loading damaged / unsupported font files.
2022-08-18Merge pull request #63999 from QbieShay/qbie/vs-qolClay John
Quality of life visual shaders updates
2022-08-18Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg
menu for editor.
2022-08-18Remove unintentional PROPERTY_USAGE_INTERNALRedMser
The flag only matters for property definition, but was also used in _validate_property a lot.