summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2019-07-10Merge pull request #30455 from qarmin/const_referenceRémi Verschelde
Pass by reference to const
2019-07-10Use reference to constant in functionsqarmin
2019-07-08Use base `Color()` constructors instead of `Color::html()`Hugo Locurcio
This results in slightly smaller binaries (-17 KB for an editor binary) as no strings need to be allocated.
2019-07-08Merge pull request #30407 from qarmin/small_fixessRémi Verschelde
Fixes minor issues found by static analyzer
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-07Removed a pair of empty bracesunknown
2019-07-07Merge pull request #30357 from simonpuchert/spheresRémi Verschelde
Particles / CPUParticles: Return uniform density spheres.
2019-07-06Merge pull request #30337 from Chaosus/vs_depth_textureRémi Verschelde
Added DEPTH_TEXTURE to visual shaders
2019-07-06particles: Return uniform density spheres.Simon Puchert
This matches the previous change for cpu_particles.
2019-07-06Added release function to PoolVector::Access.Ibrahn Sahir
For clarity, assign-to-release idiom for PoolVector::Read/Write replaced with a function call. Existing uses replaced (or removed if already handled by scope)
2019-07-05Added DEPTH_TEXTURE to visual shadersChaosus
2019-07-04Merge pull request #30300 from Calinou/remove-unused-default-theme-iconsRémi Verschelde
Remove unused icons in the default theme
2019-07-03Remove unused icons in the default themeHugo Locurcio
2019-07-03Fix crash with TileSet(again)qarmin
2019-07-02Merge pull request #26613 from KoBeWi/direction_of_particlesRémi Verschelde
Add a Direction property to ParticlesMaterial
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01fix some crashesFurkan Türkal
2019-06-29Merge pull request #30177 from hbina/use_FALLTHROUGH_macroRémi Verschelde
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29Many fallthrough switch cases now have the FALLTHROUGH macro to tell the ↵hbina085
compiler that this is intended.
2019-06-29Merge pull request #29380 from bojidar-bg/16086-docs-default-valueRémi Verschelde
Add default values to the editor help, docs, and generated RST
2019-06-27Add default values to the editor help, docs, and generated RSTBojidar Marinov
Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
2019-06-27Merge pull request #30114 from Chaosus/vs_context_menuRémi Verschelde
Shows menu when dragging connection on empty space in visual shader
2019-06-27Shows menu when dragging connection on empty space in visual shader graphChaosus
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Add a Direction property to ParticlesMaterialTomasz Chabora
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-25Merge pull request #30002 from GlaceGwyneth/masterRémi Verschelde
Give LineEdit/TextEdit a custom color for font while uneditable
2019-06-24Give TextEdit a custom color for font when read only is setGwyneth Lowe
Previously there was some transparency hard coded into TextEdit when in read only mode. This change adds a custom color for adjusting the font in read only mode. It also applies when syntax highlighting is on.
2019-06-24Give LineEdit a custom font color when un-editableGwyneth Lowe
By default the LineEdit's text when editable is unchecked had some transparency hardcoded. This change adds a custom color to LineEdit for adjusting the font when editable is off. Addresses issue 29814
2019-06-24Merge pull request #30031 from qarmin/prevent_setting_bad_index_enumsRémi Verschelde
Set to enum variables, only correct values
2019-06-24Set to enum variables, only correct valuesqarmin
2019-06-23Merge pull request #29987 from Chaosus/fix_crashesRémi Verschelde
Fix expression node crashes
2019-06-23TileSet: Don't error out on tile_ getters with wrong shape idRémi Verschelde
Partial revert of 02319dceb2e17184eb765c67719a306f56dafc1b, previous code handled this cases without errors and the TileSet and TileSetEditorPlugin are written with the expectation that those will not error out. This is a bit wonky and these classes should likely be refactored, but until then it's best to keep things as they were. Fixes #29962.
2019-06-22Fix expression node crashesChaosus
2019-06-21Curve: Prevent forcing 1.0 min value to 0.99Rémi Verschelde
The setters are called when the property is first initialized, and before that its default min and max are 0.0 and 1.0 respectively. If you configured min_value to 1.0 and max_value to e.g. 3.0, since the min_value setter can be called before that of max_value (which thus still defaults to 1.0), the min will be set to 0.99. Same conflict could happen with a configured max_value of 0 if its setter is called before that of a valid, negative min value.
2019-06-21Particles: Properly initialize angular velocity parameterRémi Verschelde
Right now it would take garbage values when loading scenes, which could end up written to the scene file.
2019-06-21Fix some editor crashesqarmin
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Fix always true/false valuesqarmin
2019-06-20Merge pull request #26205 from Calinou/spatialmaterial-use-packed-channelsRémi Verschelde
Tweak SpatialMaterial's default metallic and roughness texture channels
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-19Merge pull request #29878 from Dentrax/fixesRémi Verschelde
Added ERR_FAIL checks for `Animation::track_set_key_value` and `AnimationNodeStateMachine::remove_node`
2019-06-19added forgotten err_fail_index checkFurkan Türkal
2019-06-18Unexpose subclasses of ResourceFormatLoader and -SaverRémi Verschelde
ResourceFormatLoader and ResourceFormatSaver are meant to be overridden to add support for different formats in ResourceLoader and ResourceSaver. Those should be exposed as they can be overridden in plugins. On the other hand, all predefined subclasses of those two base classes are only meant to register support for new file and resource types, but should not and cannot be used directly from script, so they should not be exposed. Also unexposed ResourceImporterOGGVorbis (and thus its base class ResourceImporter) which are editor-only.
2019-06-17Add script to fix style issues and copyright headersRémi Verschelde
This is only meant to check the validity of the whole codebase every now and then, or to apply clang-format config changes when relevant.
2019-06-16Tweak some editor property hints to be more flexible and consistentHugo Locurcio
This partially addresses #19242.
2019-06-15Adding a new Camera Server implementation to Godot.BastiaanOlij
This is a new singleton where camera sources such as webcams or cameras on a mobile phone can register themselves with the Server. Other parts of Godot can interact with this to obtain images from the camera as textures. This work includes additions to the Visual Server to use this functionality to present the camera image in the background. This is specifically targetted at AR applications.
2019-06-14Merge pull request #29647 from YeldhamDev/file_dialog_hidden_toggleRémi Verschelde
Add toggle for hidden file visibility in FileDialog
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-06-10Add toggle for hidden file visibility in FileDialogMichael Alexsander Silva Dias