summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-11-05Updated assimp to 308db73 from https://github.com/assimp/assimp/RevoluPowered
2019-11-05FBX Importer Generation 3RevoluPowered
Basic skin support Various fixes - Fixes bind mount id and mesh index - Fixed duplicate nodes being created - Prevented leak when instances being freed during re-import. - Improved camera and light transform import - skeleton handling and technical debt removal - ASSIMP: bone nodes were unlinked from bones by this code - bone_add working can distinguish between armatutes - Updated transform to be the correct offset - Added safety for state.root node errors - Fixed memory leak with leaf bones - Implemented children re-parenting for mesh template - import_animation fixes to basic skeleton data - Adds some more debug messages - Fixed Godot import segfault - Fix build failing on mono - Clear resources we use which are no longer required after import - Fixed bone duplication issue - Working skeleton_bone_map which can lookup armatures properly now. - Fixed stack being used up when mesh swapped & Fixed bone ID Additional notes: We use a mesh template which is a fake node to instance the initial mesh nodes . This is to ensure the entire tree can be built. We replace mesh node templates with the real mesh after the skeleton is available, since this makes it ensure that the fully built skeleton exists with all bones, all nodes, etc. The bone stack is a stack which pops when it finds bones, this overcomes duplicate bones with the same names. FBX has lots of these because animation armature has bone names like bone001 and another armature will also have bone001 Fixed errors in node path assignment Simple explanation: - Every mesh uses a node from the stack - Node stack was empties before completed - Every time node not found, stack must be rebuilt to maintain correct armature order :) Additional fixes: - Fixes destructor in assimp - Implements aiNode* mArmature in bone data - Implements aiNode* mParent in bone data - Fixes parent ID on bones. Implemented skeleton assignment in generate_mesh_indicies This is the only place we can safely do a lookup for the skeleton for the mesh.h I used a pointer reference so we can pass this back out, since the skeleton assignment happens inside the function. Added mesh re-parenting to the armature node this is a permanent feature and must be enforced, just like GLTF2 specification. Fixed import_animation spawning tracks per skin
2019-11-04Merge pull request #33330 from nekomatata/fix-label-autowrap-sizeRémi Verschelde
Fixed cases where labels with autowrap can overflow the editor ui
2019-11-04Fixed cases where labels with autowrap can overflow the editor uiPouleyKetchoupp
Fixes #33155
2019-11-04Merge pull request #33266 from Xrayez/inst2dict-original-pathRémi Verschelde
Use GDScript resource path over script path for `inst2dict`
2019-11-02Merge pull request #33258 from aaronfranke/color8Rémi Verschelde
Fix Color8 GDScript documentation
2019-11-02Restore GDNative compatibility by moving new functions introduced in #33210 ↵bruvzg
to core API 1.2 extension.
2019-11-02Use GDScript resource path over script path for `inst2dict`Andrii Doroshenko (Xrayez)
The resource path holds the original path which can be used to convert a dictionary to instance consistently both within editor and exported projects as the original path is automatically remapped from `gd` to `gdc` or `gde` in exported projects.
2019-11-02Fix Color8 GDScript documentationAaron Franke
2019-11-01Merge pull request #33238 from qarmin/other_fixesRémi Verschelde
Fix some crashes, overflows and using variables without values
2019-11-01GDScript: validate instance before accessing it on errorGeorge Marques
Make sure the instance is valid before trying to access the script in after an error happened. If the instance is not valid it's possible that the script is invalid as well. Fix #29623
2019-11-01Fix some crashes, overflows and using variables without valuesRafał Mikrut
2019-11-01Fix: typo atleast -> at leastOmicron
Typo found in source string, reported by linux-man on weblate
2019-11-01GDScript: Avoid editor crashes when there's cyclic inheritanceGeorge Marques
Make sure the script is fully compiled before looking into the base.
2019-11-01Merge pull request #33210 from nekomatata/pool-array-emptyRémi Verschelde
Added empty() function to pool array types
2019-10-31Added empty() function to pool array typesPouleyKetchoupp
2019-10-31Provide and print error messages for JSON parsingAndrii Doroshenko (Xrayez)
Core is not touched, only for binding and scripting.
2019-10-29Fixed leak in gdscript when creating empty WeakRefPouleyKetchoupp
Fixes #33150
2019-10-29i18n: Sync translation template with current sourceRémi Verschelde
2019-10-28Merge pull request #33104 from qarmin/fix_some_crashesRémi Verschelde
Fix some crashes and using null pointers
2019-10-28Fix some crashes and using null pointersRafał Mikrut
2019-10-26doc: Sync classref with current sourceRémi Verschelde
2019-10-25Merge pull request #32915 from Nehluxhes/gridmap_scalingRémi Verschelde
Gridmap : Mesh preview now scales + grid update on cell size change
2019-10-25Merge pull request #32808 from bojidar-bg/30937-less-strict-mixed-spacingRémi Verschelde
Allow mixed tabs and spaces when indentation does not depend on tab size
2019-10-25Fix missing `z_verbose` and `z_error` symbols in debug iOS build.bruvzg
2019-10-25Allow mixed tabs and spaces when indentation does not depend on tab sizeBojidar Marinov
(hopefully) Closes #30937, fixes #32612
2019-10-24Refactor VideoPlayer and VideoStreamSeleckyErik
VideoStream: - Fix const correctenss VideoPlayer: - Remove unused member variable last_frame - Move _mix_audios function definition to source file - Fix function parameter naming to match p_ convention - Fix const correctness - Add null checking
2019-10-23Merge pull request #32670 from aaronfranke/mono-planeRémi Verschelde
[Mono] Change Plane intersect methods to return nullable Vector3
2019-10-22Merge pull request #32991 from Chaosus/fix_bug2Rémi Verschelde
Fix gridmap error spam at startup
2019-10-22Merge pull request #32969 from Nehluxhes/palette_vanishRémi Verschelde
Fix gridmap palette remaining invisible
2019-10-22Fix gridmap error spam at startupYuri Roubinsky
2019-10-22Merge pull request #32919 from vnen/gdscript-unused-argsRémi Verschelde
Fix wrong counting of function argument usage
2019-10-22Merge pull request #32903 from madmiraal/fix-27649-part9Rémi Verschelde
Remove duplicate valid value check in gdscript_tokenizer.cpp.
2019-10-22Merge pull request #32878 from EbbDrop/no_autocompletion_for_singeltonsRémi Verschelde
Fixes auto completion for singletons
2019-10-22Merge pull request #32893 from Nehluxhes/delete_gridmapRémi Verschelde
Disable gridmap selection actions when nothing is selected
2019-10-21Fix gridmap palette remaining invisibleNehluxhes
2019-10-21Mesh preview now scales + grid update on cell size changeNehluxhes
The mesh preview now correctly scales with cell_scale Refactor the grids creation into _draw_grids() and call it if the cell_size property is changed
2019-10-21Merge pull request #32750 from Faless/js/fix_ws_refactorRémi Verschelde
Fix HTML5 build after 67a4c30.
2019-10-21Merge pull request #32863 from JFonS/navmesh_from_groupRémi Verschelde
Add option to create navmesh from objects in group
2019-10-19GDScript: Add _ prefix on class name in type compatibility checkGeorge Marques
This makes sure that the classes internally represented with an underscore (_) prefix, such as singletons, are still properly checked for inheritance in the ClassDB.
2019-10-19Fix wrong counting of function argument usageGeorge Marques
There's no need to subtract 1 from the assignment usages because it's not incremented anywhere else. Also put back the assignment with operators because they should not count as usage if the argument is on the left side.
2019-10-18Remove duplicate valid value check in gdscript_tokenizer.cpp.Marcel Admiraal
2019-10-18Disable gridmap selection actions when nothing is selectedNehluxhes
2019-10-17Fix autocompletion for singletonsEbbDrop
2019-10-16Trim protocol field from spaces in WS classes.Fabio Alessandrelli
2019-10-16Add option to create navmesh from objects in groupjfons
Adds a new NavigationMesh property to select which objects will be taken into account for the generation. By default it will use all the NavigationMeshInstance children to keep compatibility. The new modes allow to build the NavigationMesh from all the nodes belonging to a specific group, and optionally include their children too.
2019-10-15Fix HTML5 build after 67a4c30.Fabio Alessandrelli
I messed up a rebase and a commit was partly skipped
2019-10-15Merge pull request #32830 from ↵Rémi Verschelde
timoschwarzer/remove-redundant-compiler-directives Remove redundant compiler directives
2019-10-15Merge pull request #32820 from qarmin/small_fixes_static_analyzerRémi Verschelde
Small fixes to redundand code, copy paste bugs
2019-10-14Remove redundant compiler directivesTimo Schwarzer
Closes #32817