summaryrefslogtreecommitdiff
path: root/servers/visual
AgeCommit message (Collapse)Author
2018-03-19Fix crash in `canvas_item_add_polyline` when passing more points than colorsrobfram
When `p_points.size() > p_colors.size()`, it crashed with invalid array access to `p_colors`. Also, when `p_colors` was an empty `Vector` it crashed due a missing `else` checking the `size` condition, as the code handling that special case exists. This PR fixes the missing `else` for `p_colors.size == 0` and, following the `canvas_item_add_multiline` spirit, it only uses the first color for the whole polyline if points and colors differ in size. Fix #17621.
2018-03-15Merge pull request #17248 from Cygon/implement-extra-culling-marginHein-Pieter van Braam
Apply culling margin (fixes issue #16115)
2018-03-15Hinted shader uniforms can have a default valueJFonS
2018-03-13Merge pull request #17402 from Chaosus/fixmixRémi Verschelde
Fix invalid mix function overload
2018-03-13Fixed several leaks in VisualServerScene, RasterizerSceneGLES3 and ↵Wilson E. Alvarez
RasterizerGLES3
2018-03-10Fix invalid mix function overloadChaosus
2018-03-07Make the shader token names consistent.Saracen
2018-03-04Implement VisualServerScene::instance_set_extra_visibility_margin() method ↵Markus Ewald
to actually apply extra culling margin and mark instance AABB dirty
2018-03-03Fix floatBitsToUint functionChaosus
2018-02-212D Skeletons WORK IN PROGRESSJuan Linietsky
2018-02-21Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.Juan Linietsky
2018-02-20Revert "Handle single-argument constructors in uniform default values"Juan Linietsky
2018-02-20Merge pull request #15985 from Nallebeorn/uniforms-single-argument-constructorsRémi Verschelde
Handle single-argument constructors in uniform default values
2018-02-18Added missing shader functionsChaosus
2018-02-01Fix inconsistencies and typos in argument namesPaolo Perkovic
2018-01-22Handle single-argument constructors in shaders.Benjamin
Expand these (fill vectors, fill matrix diagonals) in _reduce_expression() so they're handled properly even as uniform default values (where they previously caused a crash).
2018-01-18Fix typos in code and docs with codespellRémi Verschelde
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18Fix wrong viewport transparent-bgbinbitten
2018-01-06Properly dispose of instance capture data, fixes #14795Juan Linietsky
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Merge pull request #15251 from binbitten/fix-assign-vardeclRémi Verschelde
Fix premature declaration of shader variables created with assignment
2018-01-04Merge pull request #15191 from Jerome67000/z_renamingRémi Verschelde
renames "z" Node2D property to "z_index"
2018-01-03Fix broken Info.plist after copyright updateRazah
Fixes #15293. + related misc fixes by @akien-mga.
2018-01-03#15078 renamed "z" -> "z_index" property in Node2DJerome67000
2018-01-03Fix premature declaration of shader variables created with assignmentbinbitten
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-29Fixed wrong highlighted line when erroring and using single-line comments, ↵binbitten
fixes #15167
2017-12-27Merge pull request #14971 from mrcdk/particles_emittingNoshyaar
Set particles emitting to false when particles finish emitting with one-shot enabled
2017-12-26Fix sidedness check in material. Also remove SIDE built-in.Juan Linietsky
2017-12-23Set particles emitting to false when particles finish emitting with one-shot ↵MrCdK
enabled
2017-12-17Cleanup some #if 0'd codeRémi Verschelde
2017-12-17Shader Language: Add in-for declared variables within for-block scope.Enzo Nocera
2017-12-16Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.Juan Linietsky
Call needs to be routed via visual server to reach the proper thread.
2017-12-15Made built-in identifiers properly constant in shaders. Fixes #14449, closes ↵Juan Linietsky
#14629
2017-12-14-Add lightmapperJuan Linietsky
-Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)
2017-12-09Fix #14429 GIProbe does not work with SpotLightsPrzemyslaw Czarnota
2017-12-09-Ability to and unwrap lightmap coordinates on importJuan Linietsky
-Added unwrap functionality to Mesh -Ability to display and debug mesh UVs -Added multiline draw, so it's easier and faster to draw UVs -Many fixes to SurfaceTool -Fixes to Thekla Unwrap, but it's a piece of ass and it keeps crashing. Will have to go away
2017-12-09Merge pull request #13341 from scayze/interp_v2Rémi Verschelde
Added interpolation qualifiers to shaderlang
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-06Fixes to some thread safety situations to avoid GIProbe from freezing on ↵Juan Linietsky
save. Fixes #13338
2017-12-06Attempt to see if this can solve the problem with #13338Juan Linietsky
2017-12-04-Implemented Proxy Textures (needed to solve the problem with ViewportTexture)Juan Linietsky
-Properly use hierarchy to initialize resources local to scene (solves problem of GUI in 3D)
2017-11-27Added interpolation modifiers to shaderlangScayze
2017-11-27Merge pull request #13294 from RaXaR/masterRémi Verschelde
Added overloads of vector parameters for shader Trig functions.
2017-11-27Added overloads of vector parameters for shader Trig functions.RaXaR
Ammend: Removed whitespace from blank lines. Ammend2: Removed extra spaces in an attempt to make Clang happy. :)
2017-11-26Merge pull request #12572 from RandomShaper/onion-skinningJuan Linietsky
Onion skinning
2017-11-26Merge pull request #13289 from sketchyfun/3d_selection_fixRémi Verschelde
Fixed issue with 3D selections
2017-11-25Tweak the default camera node settingsHugo Locurcio
- Increase FOV to 70 - Put the Z-near plane at 0.05 meters
2017-11-25Fixed issue with 3D selections losing precsion due to an offset bugBenH
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.