summaryrefslogtreecommitdiff
path: root/modules/gridmap
AgeCommit message (Collapse)Author
2018-06-12Add support for tutorial links to makerst.pyrobojumper
Also change the <tutorials> structure to make use of individual <link> tags
2018-05-30SCons: Pass env to modules can_build methodRémi Verschelde
This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
2018-04-21Fixes logically dead code (Coverity)Crazy-P
Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.
2018-03-27Use radio-button-like menu entries where applicablePedro J. Estébanez
2018-03-13Merge pull request #17079 from Noshyaar/leak2Rémi Verschelde
GridMapEditorPlgn: fix a leak
2018-03-02GridMap: fix next/prev plane text, fix meta not foundPoommetee Ketson
2018-02-28Fix grid mesh tile panning bug (issue 16524)poke1024
Fix basic function and interference of touch pad pan with mesh tile delete (shift + right click on touch pad) in grid map editor (fix 16524)
2018-02-27GridMapEditorPlgn: fix a leakPoommetee Ketson
2018-02-27doc: Remove status from hardcoded version stringRémi Verschelde
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-19doc: Update version string in headerRémi Verschelde
2018-02-17Gridmap editor now lists plane instead of floor when not horizontal.Anish
Instead of gridmap editor calling grid as floor irrespective of the orientation, it now calls the grid plane if it's vertical and floor if horizontal. Resolves: #14611
2018-02-01Fix inconsistencies and typos in argument namesPaolo Perkovic
2018-01-25doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde
2018-01-25doc: Sync with current sourceRémi Verschelde
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
2018-01-17doc: Replace some more "val" with "value" + syncRémi Verschelde
2018-01-15Filled tutorial field in most relevent classes.Juan Linietsky
Added tutorial display in doc.
2018-01-13doc: Update version string in XMLRémi Verschelde
2018-01-12Update docsBojidar Marinov
[ci skip]
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
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-03doc: Sync classref with current sourceRémi Verschelde
2018-01-03Merge pull request #15120 from AndreaCatania/gridmRémi Verschelde
Added layer and mask in the gridmap node
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-28Added layer and mask in the gridmap nodeAndreaCatania
2017-12-20Fix gridmap disappearing after editing after bake, closes #14868Juan Linietsky
2017-12-19Should no longer crash after rebaking, may be a solution to #14795Juan Linietsky
Not sure if this is the same problem, as reported, please test.
2017-12-18doc: Sync classref with current sourceRémi Verschelde
2017-12-18Added baked light support for gridmaps.Juan Linietsky
2017-12-16Merge pull request #14676 from NathanWarden/nav_create_to_addRémi Verschelde
Renamed navmesh_create to navmesh_add since no navmesh is created.
2017-12-15Made built-in identifiers properly constant in shaders. Fixes #14449, closes ↵Juan Linietsky
#14629
2017-12-15Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created.Nathan Warden
2017-12-13Scons: Build modules in seperate env.Andreas Haas
2017-11-24doc: Fix enum tags thanks to 2bc6db6Rémi Verschelde
2017-11-24doc: Update header version for 3.0-betaRémi Verschelde
2017-11-21Native pan and zoom for macOSBernhard Liebl
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-16Merge pull request #12488 from djrm/pr_gridmap_fixesRémi Verschelde
Several improvements to GridMap.
2017-11-15doc: Make all module docs self-containedRémi Verschelde
2017-11-15doc: Remove revision.module_config from version stringRémi Verschelde
It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}", limits unnecessary diffs.
2017-11-09Several improvements to GridMap.Daniel J. Ramirez
Fixed crash when undoing. More ergonomic shortcuts. Fixed freelook navigation.
2017-10-21classref: Sync with current sourceRémi Verschelde
2017-10-21Adds world_to_map() and map_to_world() methods to GridMap.David Saltares
Closes #11856. Also fixes GridMap::set_cell_scale() not visually updating the grid meshes
2017-10-15[DOCS] Document GridMapDavid Saltares
[ci skip]
2017-10-11doc: Sync classref with current sourceRémi Verschelde
Ensure that s/fixed_process/physics_process/ is handled properly. [ci skip]
2017-10-05Add GridMap::get_used_cells. Fixes #11857.J08nY
2017-09-12Changed the doc class generation to individual files per class. It is also ↵Juan Linietsky
possible to save module files in module directories and the build system will recognize them.
2017-09-06Merge pull request #10976 from saltares/issue-907Rémi Verschelde
Fixes setting visibility on GridMap, issue #907
2017-09-05Setting visibility on GridMap now works. Closes #907.David Saltares
Basically, `GridMap` wasn't reacting to the `NOTIFICATION_VISIBILITY_CHANGED` event. This reacts to such events and walks over the set of `Octants` and all of their `MultiMeshInstances` to set their visibility on the `VisualServer`.
2017-09-03-Added an optimization so physics shapes are configured later, speeds up ↵Juan Linietsky
grid map loading and editing
2017-09-01Removed ontop property, added a material rendering priority system. Fixes ↵Juan Linietsky
#9935, closes #10135