aboutsummaryrefslogtreecommitdiff
path: root/modules/gridmap
Commit message (Collapse)AuthorAgeFilesLines
* Add support for tutorial links to makerst.pyrobojumper2018-06-121-1/+1
| | | | Also change the <tutorials> structure to make use of individual <link> tags
* SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
| | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* Fixes logically dead code (Coverity)Crazy-P2018-04-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use radio-button-like menu entries where applicablePedro J. Estébanez2018-03-271-6/+6
|
* Merge pull request #17079 from Noshyaar/leak2Rémi Verschelde2018-03-131-2/+3
|\ | | | | GridMapEditorPlgn: fix a leak
| * GridMapEditorPlgn: fix a leakPoommetee Ketson2018-02-271-2/+3
| |
* | GridMap: fix next/prev plane text, fix meta not foundPoommetee Ketson2018-03-021-3/+3
| |
* | Fix grid mesh tile panning bug (issue 16524)poke10242018-02-282-3/+14
|/ | | | 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)
* doc: Remove status from hardcoded version stringRémi Verschelde2018-02-271-1/+1
| | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* doc: Update version string in headerRémi Verschelde2018-02-191-1/+1
|
* Gridmap editor now lists plane instead of floor when not horizontal.Anish2018-02-172-3/+18
| | | | | | | | 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
* Fix inconsistencies and typos in argument namesPaolo Perkovic2018-02-011-1/+1
|
* doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde2018-01-251-1/+1
|
* doc: Sync with current sourceRémi Verschelde2018-01-251-1/+1
| | | | | | 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).
* doc: Replace some more "val" with "value" + syncRémi Verschelde2018-01-171-1/+1
|
* Filled tutorial field in most relevent classes.Juan Linietsky2018-01-151-0/+1
| | | | Added tutorial display in doc.
* doc: Update version string in XMLRémi Verschelde2018-01-131-1/+1
|
* Update docsBojidar Marinov2018-01-121-96/+20
| | | | [ci skip]
* Bind many more properties to scriptsBojidar Marinov2018-01-121-46/+14
| | | | | | | 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
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-056-0/+6
| | | | | | 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.
* doc: Sync classref with current sourceRémi Verschelde2018-01-031-0/+42
|
* Merge pull request #15120 from AndreaCatania/gridmRémi Verschelde2018-01-032-0/+96
|\ | | | | Added layer and mask in the gridmap node
| * Added layer and mask in the gridmap nodeAndreaCatania2017-12-282-0/+96
| |
* | Update copyright statements to 2018Rémi Verschelde2018-01-016-12/+12
|/ | | | Happy new year to the wonderful Godot community!
* Fix gridmap disappearing after editing after bake, closes #14868Juan Linietsky2017-12-201-1/+1
|
* Should no longer crash after rebaking, may be a solution to #14795Juan Linietsky2017-12-191-8/+9
| | | | Not sure if this is the same problem, as reported, please test.
* doc: Sync classref with current sourceRémi Verschelde2017-12-181-0/+30
|
* Added baked light support for gridmaps.Juan Linietsky2017-12-182-27/+220
|
* Merge pull request #14676 from NathanWarden/nav_create_to_addRémi Verschelde2017-12-161-2/+2
|\ | | | | Renamed navmesh_create to navmesh_add since no navmesh is created.
| * Renamed navmesh/poly_create to navmesh/poly_add since no navmesh is created.Nathan Warden2017-12-151-2/+2
| |
* | Made built-in identifiers properly constant in shaders. Fixes #14449, closes ↵Juan Linietsky2017-12-151-0/+5
|/ | | | #14629
* Scons: Build modules in seperate env.Andreas Haas2017-12-131-1/+4
|
* doc: Fix enum tags thanks to 2bc6db6Rémi Verschelde2017-11-241-1/+1
|
* doc: Update header version for 3.0-betaRémi Verschelde2017-11-241-1/+1
|
* Native pan and zoom for macOSBernhard Liebl2017-11-211-0/+10
|
* Rename Rect3 to AABB.Ferenc Arn2017-11-171-1/+1
| | | | Fixes #12973.
* Merge pull request #12488 from djrm/pr_gridmap_fixesRémi Verschelde2017-11-162-76/+106
|\ | | | | Several improvements to GridMap.
| * Several improvements to GridMap.Daniel J. Ramirez2017-11-092-76/+106
| | | | | | | | | | | | Fixed crash when undoing. More ergonomic shortcuts. Fixed freelook navigation.
* | doc: Make all module docs self-containedRémi Verschelde2017-11-151-5/+4
| |
* | doc: Remove revision.module_config from version stringRémi Verschelde2017-11-151-1/+1
|/ | | | | It is now "3.0-alpha" instead of "3.0.alpha.custom_build{,.mono}", limits unnecessary diffs.
* classref: Sync with current sourceRémi Verschelde2017-10-211-0/+20
|
* Adds world_to_map() and map_to_world() methods to GridMap.David Saltares2017-10-212-3/+35
| | | | | Closes #11856. Also fixes GridMap::set_cell_scale() not visually updating the grid meshes
* [DOCS] Document GridMapDavid Saltares2017-10-151-0/+26
| | | | [ci skip]
* doc: Sync classref with current sourceRémi Verschelde2017-10-111-0/+6
| | | | | Ensure that s/fixed_process/physics_process/ is handled properly. [ci skip]
* Add GridMap::get_used_cells. Fixes #11857.feature/gridmap-used-cellsJ08nY2017-10-052-0/+17
|
* Changed the doc class generation to individual files per class. It is also ↵Juan Linietsky2017-09-123-0/+182
| | | | | | possible to save module files in module directories and the build system will recognize them.
* Merge pull request #10976 from saltares/issue-907Rémi Verschelde2017-09-062-0/+20
|\ | | | | Fixes setting visibility on GridMap, issue #907
| * Setting visibility on GridMap now works. Closes #907.David Saltares2017-09-052-0/+20
| | | | | | | | | | | | | | 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`.
* | -Added an optimization so physics shapes are configured later, speeds up ↵Juan Linietsky2017-09-031-3/+0
|/ | | | grid map loading and editing
* Removed ontop property, added a material rendering priority system. Fixes ↵Juan Linietsky2017-09-011-2/+2
| | | | #9935, closes #10135