summaryrefslogtreecommitdiff
path: root/modules/csg
AgeCommit message (Collapse)Author
2019-04-25Use approximate equallity methods in many placesAaron Franke
2019-04-23Added inspector plugin documentation.Juan Linietsky
Fixed plugin bindings.
2019-04-22Merge pull request #28125 from KoBeWi/code_true_codeRémi Verschelde
Consistently wrap booleans in [code]
2019-04-21Merge pull request #27940 from LeonardMeagher2/fix_csgshape_geometryinstanceRémi Verschelde
CSGMesh gets material + CSGShape inherits from GeometryInstance
2019-04-19doc: Drop unused <demos> tagRémi Verschelde
2019-04-17Consistently wrap booleans in [code]Tomasz Chabora
2019-04-11CSGMesh material and CSGShape inherits from GeometryInstanceLeonard Meagher
I left the material on CSGMesh because GeometryInstance's material override prevents the normal material behaviour of the csg meshes but the material_override is useful, and now you can control the shadow, lod and other properties you get from GeometryInstance
2019-04-01Merge pull request #27430 from LeonardMeagher2/csg_get_mesh_dataRémi Verschelde
Apply proper offset to CSGMesh brush materials and smooth flags
2019-04-01doc: Bump version to 3.2Rémi Verschelde
2019-03-25Apply proper offset to CSGMesh material and smooth groupLeonard
2019-03-12Add priority to gizmos and fix small issuesJFonS
User defined gizmos will haave higher preference than editor gizmos by default. Also fixed some inconsistencies in the gizmos menu when using custom gizmos.
2019-03-01Fix CSG crash, closes #26281Juan Linietsky
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-12Core: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `core/dvector.h` -> `pool_vector.h` - `core/io/resource_import.h` -> `resource_importer.h` - `core/sort.h` -> `sort_array.h` - `core/string_db.h` -> `string_name.h` Dropped: - `core/allocators.h` - `core/os/shell.h` - `core/variant_construct_string.cpp`
2019-02-10Fix CSGShape not updating on changing visibilityAndrii Doroshenko (Xrayez)
Hiding CSGShape should force the CSG operation to skip it which is intented behaviour according to how CSGBrush is created for each shape.
2019-02-10doc: Sync classref with current sourceRémi Verschelde
2019-01-27Make CSG Shape work with GIProbe, fixes #20465Juan Linietsky
2019-01-16Fix some errors found by static analysisRémi Verschelde
Fixes items 10, 16 and 19 from PVS-Studio blog post in #24014.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-30Merge pull request #24506 from JFonS/expose_gizmosRémi Verschelde
Expose the new gizmo plugin system to scripting
2018-12-21Expose the new gizmo plugin system to scriptingJFonS
2018-12-15doc: Sync classref with current sourceRémi Verschelde
2018-12-15Add support for collision layers and masks in CSG shapesmeditator
2018-12-14doc: Grammar and punctuation fixes for CSGMesh and CSGCombinercorrigentia
2018-12-08Reverse bitangent on everythings to ensure default normal map behavriour is ↵Bastiaan Olij
consistent
2018-12-03Fix csgshape collider without object idAron Castro
2018-11-20Merge pull request #23760 from BastiaanOlij/fix_tangent_directionRémi Verschelde
Fixing tangent and binormal logic
2018-11-19Fixing tangent and binormal logicBastiaan Olij
2018-11-19Adding UVs on end capsBastiaan Olij
2018-11-17Adding mikkt tangent support to CSG objectsBastiaan Olij
2018-11-01Fix CSG shape generation with meshes without indices, fixes #23364Juan Linietsky
2018-10-15Added a fail condition to prevent a crashJean-François Michaud
2018-10-06Remove redundant "== true" codeAaron Franke
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-04Fix GCC 8 warnings about potentially unitialized variablesRémi Verschelde
Fixes the following GCC 8 warnings: ``` core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized] core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] ```
2018-10-03Fix some more warnings reported by CIRémi Verschelde
Fixes the following Clang 7 warnings: ``` core/io/marshalls.cpp:872:10: warning: unused variable 'f' [-Wunused-variable] core/ustring.cpp:1831:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] core/ustring.cpp:1832:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] drivers/gles3/rasterizer_gles3.cpp:82:24: warning: unused function '_gl_debug_print' [-Wunused-function,34] main/main.cpp:118:13: warning: unused variable 'auto_build_solutions' [-Wunused-variable] modules/csg/csg_gizmos.cpp:225:46: warning: 'current' may be used uninitialized in this function [-Wmaybe-uninitialized] ```
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-08-28Fix to make CSGBox the size that is entered in Width, Height and Depth ↵jmf
instead of twice those lengths.
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
2018-08-09New gizmo structure and new gizmo disabling menuJFonS
2018-07-26Reduce unnecessary COW on Vector by make writing explicitHein-Pieter van Braam
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case.
2018-07-19Added some documentation for the CSG nodesBastiaan Olij
2018-07-07Added path_local and path_continious_u properties to CSGPolygonBastiaan Olij
2018-06-27Changes to how node paths are selected from property, allowing setting a hint.Juan Linietsky
2018-06-10Fix CSG issues when reparenting shape nodes.Benjamin
2018-05-31Style: Apply clang-format (5.0) to some missed filesRémi Verschelde
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-05-16Add missing copyright headersGuilherme Felipe