summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2018-06-07Entirely new (and much improved) animation editor.Juan Linietsky
2018-05-26Merge pull request #18379 from ZDDM/18-04-23-audiostream-docsMax Hilbrunner
Fully expose the data variable in AudioStreamSample and AudioStreamOGGVorbis
2018-05-20Up vector implementation and OrientedPathFollow.danilo2205
2018-05-18-Hid texture flags by default so they dont take so much spaceJuan Linietsky
-make curve texture preview not so large, so its easier to embed the editor
2018-05-18Merge pull request #18978 from Chaosus/cubebugfixRémi Verschelde
Fix property bug in CubeMesh which prevent it from changing in inspector
2018-05-17Merge pull request #18960 from isaacremnant/autotile_3x3_minimalMariano Javier Suligoy
Restore support for minimal 3x3 autotile sets
2018-05-17-Ability to open resources in the same windowJuan Linietsky
-Plenty of fixes and improvements to new inspector -Fixes that were needed to make inspector work better
2018-05-17Fix bug in CubeMeshChaosus
2018-05-17Restore support for minimal 3x3 autotile setsisaacremnant
2018-05-17Merge pull request #18862 from endragor/remove-font-width-ceilingRémi Verschelde
Ceil char width within Label instead of Font
2018-05-16Merge pull request #18814 from PJB3005/18-05-12-imagetexture-load-errorRémi Verschelde
ImageTexture.load returns an error code.
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-05-14ImageTexture.load returns an error code.Pieter-Jan Briers
2018-05-14Ceil char width within Label instead of FontRuslan Mustakov
Some classes use Font::get_char_size directly and not only for autowrapping. RichTextLabel is one such example. So this commit reverts aa8561d (PR #17504) and instead ceils character width within Label. This makes sure Label autowraps correctly while not affecting other Font clients. Fixes #18835.
2018-05-14Fixed some warnings found with Cppcheck.Michael Alexsander Silva Dias
2018-05-11Update oversampling of outlines after window size changeRuslan Mustakov
Fixes #18774.
2018-05-08Merge pull request #18374 from JFonS/fix_particles_animationJuan Linietsky
Fix particle animation controls
2018-05-08Always emit dynamic font change in update_oversamplingRuslan Mustakov
Fixes #15787. The issue occurred when two (or more) separate DynamicFont instances used the same DynamicFontAtSize instance due to having equal properties. The first instance updated its data_at_size and emitted "changed" signal, but the second did not because it considered the data_at_size to be up to date, even though it has just been updated.
2018-05-08Perfect FreeType-based outlines for DynamicFontsRuslan Mustakov
- Implement outlines based on FreeType Stroker API. This allows artifact-free results, similar to what you will see in Web or any text editing tools. Outline is a part of DynamicFont rather than Label, because outlines have to be baked into the font's atlas. Font has a default outline_color and a Label can specify font_outline_modulator that will be multiplied with the Font's color to get the final result. - draw_char now has to be called twice to fully render a text - first with p_outline == true for each character and then with p_outline == false for each character. - Number of draw-calls is reduced from 5 to 2 per outlined character. - Overall cleanup of DynamicFont code, extracted duplicated code pieces into separate methods. - The change is backward-compatible - Labels still have outline properties that work exactly as they worked before. Closes #16279.
2018-05-07Added a simpler way to flip faces, closes #17373 and closes #17369Juan Linietsky
2018-05-07Merge pull request #17504 from endragor/fix-oversampling-autowrapJuan Linietsky
Ceil dynamic font glyph size
2018-05-07Merge pull request #17828 from bojidar-bg/17779-progressbar-minimum-sizeJuan Linietsky
Fix StyleBox ignoring region rect and ProgressBar using center size
2018-05-07Merge pull request #17845 from JFonS/disable_spatial_shadowsJuan Linietsky
Added flag on SpatialMaterial to disable shadows
2018-05-05Merge pull request #18146 from mjtorn/gh-mjtorn-rtl-shadowMax Hilbrunner
Implement font shadows for RichTextLabel
2018-05-05Merge pull request #18407 from danilo2205/get_closest_pointMax Hilbrunner
Add methods get_closest_point and get_closest_offset for both Curve2D and Curve3D
2018-05-04Merge pull request #18480 from BastiaanOlij/add_custom_aabb_to_primitivesRémi Verschelde
Added custom aabb to primitives
2018-05-01Added methods get_closest_point and get_closest_offset to both Curve2D and ↵danilo2205
Curve3D
2018-05-01Adds z-index properties to TileSets.Pieter-Jan Briers
2018-05-01Fully exposes data variable on AudioStreamSample/AudioStreamOGGVorbis...Zumo
...and also changes "_set_data" and "_get_data" to "set_data" and "get_data" respectively.
2018-04-29added custom aabb to primitivesBastiaan Olij
2018-04-27CSG Support for Godot!Juan Linietsky
-Missing Icons -Missing freezing option (for baking light and faster load) -Missing a way to export from Godot (GLTF2?) -Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs) Happy testing!
2018-04-27Fixed stylebox crashsersoong
2018-04-23Fix particle animation controlsJFonS
2018-04-12Implement font shadows for RichTextLabelMarkus Törnqvist
2018-04-08Merge pull request #18072 from AlexHolly/masterGeorge Marques
expose Tileset TileMode to GDScript
2018-04-08expose Tileset TileMode to GDScriptAlexander Holland
2018-04-08Merge pull request #16705 from Chaosus/generate_normals_flipJuan Linietsky
Add flip switch to SurfaceTool.generate_normals
2018-04-08Merge pull request #17382 from bojidar-bg/13971-path-array-unsavedJuan Linietsky
Duplicate Arrays and Dictionaries when instancing scene in editor
2018-04-08Merge pull request #17443 from Noshyaar/tilesetcrashJuan Linietsky
Fix converting to tileset crashes Godot if existing file is not tileset
2018-04-07Merge pull request #17602 from ivodopiviz/tscn-issuesJuan Linietsky
Removed unnecessary newlines from tscn
2018-04-07Merge pull request #17730 from RandomShaper/radio-buttons-in-menusJuan Linietsky
Radio buttons in menus
2018-04-01Mesh: fix crash when creating mesh outline from QuadMeshPoommetee Ketson
Since create_outline can only make outline for PRIMITIVE_TRIANGLES, when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create outline, will leave `arrays` empty, and crash when it is being indexed for "indices" subarray. This PR shows error when there's only one surface and it is not TRIANGLES. Also prevent the crash if it has more than one surface and none of them are TRIANGLES (and any other cases that could leave `arrays` empty) by checking the size of `arrays` == 8 before indexing it, since the method seems to expect `arrays` to be of that size.
2018-03-29Added flag on SpatialMaterial to disable shadowsJFonS
2018-03-28Fix StyleBox ignoring region rect and ProgressBar using center sizeBojidar Marinov
ProgressBar used the center size of the stylebox to calculate its minimum size, thus disallowing certain setups. If the old behaviour is wanted, it can be forced by providing a custom minimum size, or by giving proper margins to the stylebox. Fixes #17779.
2018-03-27Add radio-button-looking entries to PopupMenuPedro J. Estébanez
They work exactly the same as current checkbox-decorated items, but in order to preserve compatibility, separate methods are used, like `add_radio_check_item()`. The other option would have been to add a new parameter at the end of `add_check_item()` and the like, but that would have forced callers to provide the defaults manually. `is_item_checkable()`, `is_item_checked()` and `set_item_checked()` are used regardless the item is set to look as check box or radio button. Keeping check in the name adds an additional clue about these facts. Closes #13055.
2018-03-25Removed unnecessary newlines from tscnIvan Vodopiviz
References #6025. Made small changes to avoid adding newlines for no reason.
2018-03-23Fix converting to tileset crashes Godot if existing file is not tilesetPoommetee Ketson
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-14Ceil dynamic font glyph sizeRuslan Mustakov
Fixes #15459. When oversampling is enabled, glyphs may have fractional size, but they are still rendered into integral pixels, which results in them taking more space than was anticiped by autowrapping algorithm. The solution here is to return ceiled width, which makes autowrapper consider characters a bit larger than they are, but it doesn't hurt the actual rendering and ensures there is enough space for the characters.
2018-03-13Duplicate Arrays and Dictionaries when instancing scene in editorBojidar Marinov
Also, add deep (=false) parameter to Array.duplicate and Dictionary.duplicate Fixes #13971
2018-03-13Merge pull request #17094 from Calinou/add-dynamicfont-hinting-optionsRémi Verschelde
Add an hinting mode setting to DynamicFonts