summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2020-10-05glTF: Fix parsing image data with `mimeType` undefinedRémi Verschelde
The glTF 2.0 spec only makes `mimeType` mandatory for `bufferView` image data, so the previous logic to handle URIs with base64-encoded images could fail if `mimeType` is undefined. The logic was documented and refactored to better handle the spec, notably: - `uri` and `bufferView` are now mutually exclusive, and only the latter fails if `mimeType` is undefined. - `uri` with a file path will now respect the `mimeType` if defined, and thus attempt loading the file with the specified format (even if its extension is not the one expected for this format). So we can support bad extensions (PNG data with `.jpg` extension) or custom ones (PNG data in `.img` file for example). - `uri` with base64 encoded data will infer MIME type from `data:image/png` or `data:image/jpeg` if it was not documented in `mimeType` initially. - `uri` with base64 encoded data, no `mimeType` and `application/octet-stream` or `application/gltf-buffer` will fall back to trying both PNG and JPEG loaders. Fully fixes #33796 (and fixes up #42501).
2020-10-04Fix typo in VisualShaderNodeSample3D::generate_codeYuri Roubinsky
2020-10-03Fix def parameter in Texture visual shader nodes for sky/particles modesYuri Roubinsky
2020-10-03Switch from recursion to iterative for backfilling colour regionsPaulb23
2020-10-02Fix VisualShaderNode::set_output_port_connectedYuri Roubinsky
2020-10-01Expose Animation::value_track_interpolate to GDscriptlolligerjoj
2020-09-29Improve appearance of [connection] and [editable] sections in .tscn filesDanil Alexeev
2020-09-29Merge pull request #42078 from Chaosus/vs_rename_typeRémi Verschelde
Renames Type to OpType in VisualShaderNodeMultiplyAdd
2020-09-27Merge pull request #35924 from doot24/fix_#35863Rémi Verschelde
Fixed Gradient.remove_point not allowing fewer than two points.
2020-09-24Add a property hint to StyleBoxFlat `shadow_size` for editor usabilityHugo Locurcio
This adds a visible range to the slider so it can be dragged more easily. This closes #42309.
2020-09-23Merge pull request #42203 from rcorre/physicsmat_hintRémi Verschelde
Fix hints on PhysicsMaterial bounce/friction.
2020-09-22Fix expressions nodes in visual shadersYuri Roubinsky
2020-09-21Fix some bugs in visual shader editorYuri Roubinsky
2020-09-19Fix hints on PhysicsMaterial bounce/friction.Ryan Roden-Corrent
These values are only meaningful in the range 0 to 1. Make sure the editor enforces reasonable values. Fixes #42202.
2020-09-18Fix typos with codespellRémi Verschelde
Using codespell 1.17.1. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2020-09-15Renames Type to OpType in VisualShaderNodeMultiplyAddYuri Roubinsky
To prevent possible conflicts with C# and other languages.
2020-09-11Fix triplanar texture code generation in visual shadersYuri Roubinsky
2020-09-11Merge pull request #41955 from Chaosus/vs_performance_fix3Yuri Roubinsky
Improve performance of Add/Remove/Connect/Change nodes in visual shader
2020-09-11Improve performance of Add/Remove/Connect/Change nodes in visual shaderYuri Roubinsky
2020-09-11doc: Sync classref with current sourceRémi Verschelde
Bind missing enums.
2020-09-10Move safe line color into editorPaulb23
2020-09-10Add folding gutter to code_editPaulb23
2020-09-10Add main_gutter (breakpoints, bookmarks, execution lines) to code_editPaulb23
2020-09-10Changed line_edited_from(from) to lines_edit_from(from, to)Paulb23
2020-09-10Added Line numbers to CodeEditPaulb23
2020-09-10Add and convert editor to use CodeEditPaulb23
2020-09-10Added Texture3D to visual shadersYuri Roubinsky
2020-09-09Merge pull request #41918 from reduz/implement-3d-texturesJuan Linietsky
Implement 3D textures as import and resource format.
2020-09-09Implement 3D textures as import and resource format.reduz
2020-09-09Improve performance for Show/Hide port preview in visual shadersYuri Roubinsky
2020-09-09Improve performance of Undo:change node position in visual shaderYuri Roubinsky
2020-09-08mesh_library.h: Update header guard to reflect file nameYetizone
2020-09-07Added `active` boolean to particles mode output in visual shadersYuri Roubinsky
2020-09-07Remakes particles in visual shadersYuri Roubinsky
2020-09-07Fix some broken visual shader nodesYuri Roubinsky
2020-09-07Merge pull request #41767 from lolleko/patch-1Rémi Verschelde
Remove ArrayMesh::surface_remove declaration
2020-09-06Implement manual particle emission and particle sub emitters.reduz
2020-09-05Cleanup constructor code in visual shader nodesYuri Roubinsky
2020-09-04Remove ArrayMesh::surface_remove declarationLorenz Junglas
Removal was omitted in 449df8f688080c02bfbbfafc45421875b77deb1b
2020-09-04doc: Sync classref with current sourceRémi Verschelde
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-03Merge pull request #41459 from Paulb23/nested_color_regionsRémi Verschelde
Fix colour region end key seach and start key order
2020-09-03Merge pull request #41724 from Chaosus/vs_fix_particlesYuri Roubinsky
Restore Particles functionality in visual shader
2020-09-03Restore Particles functionality in visual shaderYuri Roubinsky
2020-09-03Merge pull request #41533 from Chaosus/vs_fix_specularRémi Verschelde
Fix specular render_mode for visual shaders
2020-09-02Re-Implement GPU particles on master.Juan Linietsky
-No new features yet -Unlike godot 3.x, sorting happens using GPU
2020-08-31Merge pull request #30148 from zaksnet/fix-texture-editorRémi Verschelde
Adds automatic update for StyleBoxTexture > region_rect
2020-08-30Make `AnimatedTexture.MAX_FRAMES` publicAndrii Doroshenko (Xrayez)
The constant is already exposed in GDScript, but not in C++. This information is useful for implementing animated texture resource importers via modules.
2020-08-29Adds automatic update for region_rectZak
When changing the texture region for a StyleBox, the regions was not updating automatically in the Texture editor.
2020-08-28Fix specular render_mode for visual shaders Yuri Roubinsky