summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2017-08-28-Some fixes to code completion.Juan Linietsky
-Fix getter in code completion being displayed when it shouldn't -Clean up preview generation for editors and exposed it as editor plugin
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27-Largely rewrote gridmap to simplify itJuan Linietsky
-Got editor working again -Added a current-floor marker on selection
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-27Bind missing ArrayMesh.ARRAY_MAXMarc Gilleron
2017-08-26Cleanup tons of obsolete commented out codeRémi Verschelde
Mostly in EditorNode, dropping some obsolete editor plugins and also a cleanup of ProjectSettings/EditorSettings.
2017-08-26-Massive clean up to gizmosJuan Linietsky
-Make sure handles are always visible (on top) -Fixed instanced scene selection (should work properly now) -Added interpolated camera -Customizable gizmo colors in editor settings
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-22fixed crash styleBoxTexture binding issuetoger5
2017-08-22Merge pull request #10519 from toger5/remove_addition_borderRémi Verschelde
Remove addition border
2017-08-22Merge pull request #10340 from Rubonnek/remove-unnecessary-assignmentsRémi Verschelde
Removed unnecessary assignments
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-21added utility funtions for expand margins (in styleBox)toger5
2017-08-21Removed unnecessary assignmentsWilson E. Alvarez
2017-08-21Fix color_ramp indexing negative elementsHein-Pieter van Braam
The 'pos' variable passed to get_color() and get_offset() can be negative if the color ramp itself is empty. This causes a lookup in an empty position in the color Vector which leads to a crash. We add a check so we never do a lookup in the color Vector if the gradient is empty. This fixes #10501
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-19Merge pull request #10444 from ↵Rémi Verschelde
toger5/styleBoxFlat_corner_detail_value_limitation styleBoxFlat: clamp corner_detail + aa_size
2017-08-19styleBoxFlat: clamp corner_detail + aa_sizetoger5
2017-08-19Performance styleBoxFlat:toger5
- style box flat was always drawn with 8 verts per corner in case it was a rounded corner... now it uses only one vert if it has no rounded corner.
2017-08-19Removes extra argument from StyleBoxFlat::get_border_color()Ignacio Etcheverry
2017-08-18ProceduralSky now regenerates in a thread (the second time, first does not), ↵Juan Linietsky
closes #9138
2017-08-18Make sure local to scene resources are initialized after loading all nodes, ↵Juan Linietsky
fixes #9438
2017-08-18Merge pull request #10406 from marcelofg55/closest_power_of_2Rémi Verschelde
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-17Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez
2017-08-17Oops, fixed wrong color masking problem. Closes #10149Juan Linietsky
2017-08-16Merge pull request #10265 from leezh/patchnine_styleboxRémi Verschelde
Added Tile and TileFit to StyleBoxes
2017-08-16Merge pull request #8899 from toger5/BetterFlatStyleboxRémi Verschelde
Better flat stylebox with rounded corners
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-16Merge pull request #10312 from kbake/pressed-scroll-bar-styleRémi Verschelde
Scroll bars now look different on press
2017-08-15styleBoxFlat removed light, dark color entirelytoger5
2017-08-15new StyleBoxFlat removed multiBorderColortoger5
- removed only the bindings because the drawing code is not done yet - kept c++ functions for setting individual border color for future implementation
2017-08-15new StyleBoxFlat limits for drawingtoger5
- corner and border are decreased if necassary to achoieve clean stylboxes - prohibits wired drawing artifacts when using wrong values - corner radius are relative to the partner corner when they would result in glitches
2017-08-15new StyleBoxFlat added more drawing featurestoger5
- corner radius bindings - shadow - antiAliasing - CornerDetail
2017-08-15Adapted godot to the new StyleBoxFlattoger5
2017-08-15NEW Style Box Flat Implementationtoger5
- now use polygons! - renamed blend -> blend_border - draw_center -> filled - GDScript biding
2017-08-14Fix console warning: Condition !env is trueM.H. Alkotob
The trivial yet astute fix was suggested by @bojidar-bg in IRC. Compiling confirms it does the job, so thought I'd push a PR.
2017-08-12Scroll bars now look different on presskbake
2017-08-12Added Tile and TileFit to StyleBoxesZher Huei Lee
Was already implemented for Patch9 boxes, but wasn't exposed here. Allows for use in other GUI elements like panels and buttons.
2017-08-11Merge pull request #10194 from Keetz/update-default-valuesRémi Verschelde
Updated default values in SpatialMaterial and Environment
2017-08-10Fixes method definitions with extra number of argumentsIgnacio Etcheverry
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-09Updated default values in SpatialMaterial and EnvironmentRasmus Ketelsen
2017-08-08-Restored Sprite3D to working function, fixes #2061, fixes #9738Juan Linietsky
-Restored an alpha scissor property in Material
2017-08-07Texture: Fix wrong method bind instance typeIgnacio Etcheverry
2017-08-06Added missing binding to ImageTexture, closes #8371Juan Linietsky
2017-08-06keep default exported script values unless overriden, closes #8127Juan Linietsky
2017-08-02-Added GLTF scene support (still missing animations and .glb extension)Juan Linietsky
-Fixed bugs regarding tangent generation in SurfaceTool
2017-08-01Merge pull request #8209 from robertdhernandez/Texture-Region-Editor-SyncRémi Verschelde
Texture region now updates when changing an Atlas region rect
2017-07-31Bind some useful methods in SurfaceTool to GDScriptAndrii Doroshenko (Xrayez)
These include: * generate_tangents() * add_to_format() * create_from() * append_from() Reordered and grouped the bindings to match the header for improved readability. Removed commented out `generate_flat_normals()` method which wasn't present in the header. Fixes #9946
2017-07-30Style: Apply clang-format on all filesRémi Verschelde
Thus fixing some invalid changes that had still made it to the master branch.