Commit graph

110 commits

Author SHA1 Message Date
Moritz Brückner c56a0c3a72 Fix accidental module reloading caused by name conflicts of global vars 2021-08-11 14:32:21 +02:00
Moritz Brückner ea8c13686c Implement basic addon reloading 2021-08-04 22:56:11 +02:00
Moritz Brückner f64419dd06 Merge branch 'master' into blender2.9
# Conflicts:
#	blender/arm/material/shader.py
#	blender/arm/props_collision_filter_mask.py
#	blender/arm/props_ui.py
2021-04-03 14:12:54 +02:00
Moritz Brückner 7d9c6ce7c7 Make @prop recognition much more robust 2021-03-13 21:12:12 +01:00
Moritz Brückner 1d79708b22 Fix trait type backward compatibility with pre-Blender2.9 files 2021-01-25 16:23:03 +01:00
Moritz Brückner ffd3d6e824 Show is_object property when Add Trait is not invoked from the UI 2021-01-17 16:54:08 +01:00
Moritz Brückner 7b55f3d8f5 Blender 2.9: Improve Add Trait operator UI 2021-01-17 16:53:17 +01:00
Moritz Brückner ee1b55184c Move icon code into module
This, combined with lazy loading, has the advantage of using icons in property definitions before the actual registration code runs
2021-01-15 19:26:31 +01:00
Moritz Brückner fa7f58e4dd Ensure that only logic node trees show up as node traits 2021-01-14 22:46:22 +01:00
Moritz Brückner 04fdcc5500 Cleanup 2021-01-14 22:28:58 +01:00
Moritz Brückner fb88361c5b Blender 2.9: Simplify and improve trait panel UI 2021-01-14 22:14:50 +01:00
Moritz Brückner b7903dbef1 Change canvas icon according to the canvas node category 2021-01-14 22:14:10 +01:00
Moritz Brückner 40efd58214 Blender 2.9: Improve trait list UI and fix checkbox position 2021-01-14 21:24:42 +01:00
Moritz Brückner e742ca76c0 Fix editing bundled traits if the project was never compiled 2021-01-08 22:40:14 +01:00
Moritz Brückner 14bca0ec80 Shorten too long node trait operator labels 2020-12-30 17:57:23 +01:00
Moritz Brückner 4862054bcf Reorder trait type selection 2020-12-30 17:56:58 +01:00
Moritz Brückner 52cee7f0ce Update "Armory Traits" object panel to Blender 2.9 layouts 2020-12-30 17:56:34 +01:00
Moritz Brückner 76b2380ec4 Improve node side panel (more operators, icons) 2020-12-19 01:08:52 +01:00
Moritz Brückner efad6d62e6 Fix trait paths 2020-10-31 01:41:53 +01:00
E1e5en e840eead7e Change Bundle icon for Armory Traits
1. Add custom icon.
2. Change Bundle icon for Armory Traits.
2020-10-25 07:51:16 +03:00
Moritz Brückner 863ec518f8 Set file encoding to utf-8 2020-10-18 17:50:35 +02:00
E1e5en 4304be7a0a Blender UI – Armory Trait – Logic Node
Add buttons:
- New Node Tree – creates and sets a new Node Tree in the list;
- Edit Node Tree – loads the Node Tree selected from the list into all Logic Node Editor;
- From Node Tree – loops through all the working Logic Node Editor and from the last in the list sets the value to the list.
2020-09-11 12:18:31 +03:00
Moritz Brückner e8c67fcb46 Remove unused format string 2020-08-10 14:39:21 +02:00
Moritz Brückner eeb1d9e3ab Add CopyTraitsFromActive operator 2020-08-10 00:23:26 +02:00
Moritz Brückner 56f6d44651 props_traits.py: clean up imports 2020-08-10 00:19:15 +02:00
Moritz Brückner c373f53599 Fix update_trait_group() when object is already in trait collection 2020-08-10 00:18:27 +02:00
Moritz Brückner e746941874 Add annotation 2020-08-04 14:30:05 +02:00
Moritz Brückner 2cde35b6ef Remove some operators from op search menu + code cleanup 2020-08-04 14:19:09 +02:00
Moritz Brückner c9b89e6036 Reorder trait UI 2020-04-10 20:44:35 +02:00
Moritz Brückner 403e52109c Add "fake user" setting for traits 2020-04-10 20:43:59 +02:00
Moritz Brückner d6275b8a07 More future-proof navmesh generation 2020-02-22 17:57:29 +01:00
Moritz Brückner 7566b53340 Fix Navmesh generation + few code style improvements (pep8) 2020-02-22 17:41:51 +01:00
Moritz Brückner 23eea495f9 Improve UI 2020-01-08 16:37:48 +01:00
Moritz Brückner da16b0e0ac Show warnings caused by invalid trait props 2020-01-07 13:15:21 +01:00
Moritz Brückner 891d099c8a Small UI tweaks 2020-01-07 12:35:53 +01:00
luboslenco 1f8aed23bf Print output from armory2d into console 2019-12-15 15:33:37 +01:00
N8n5h 5184794a0e nav update 3
added support for modifiers for navigation meshes, removed the need to restart blender when creating visualization
2019-10-13 19:46:22 -03:00
N8n5h 93f5b1dace
save the file when creating the dir
For some reason if you don't save the file the path check doesn't work even if the folder is there.
2019-10-04 20:23:25 -03:00
N8n5h bcf3f5d2e2
Add a restart check in navmesh vis generation
This is to prevent the "vertical generation" issue, that happens when failing to generate a vis the first time because of #1377, not liking the "require a restart" thing as a solution but I didn't find a solution that is not a workaround , so for now...
2019-10-04 19:53:55 -03:00
Moritz Brückner 22dd37cc67 Add Sublime Text as a supported text editor
Todo: build configuration
2019-09-11 21:04:09 +02:00
Moritz Brückner ed5311b058 Remove whitespace 2019-09-11 20:58:53 +02:00
N8n5h 92153e15f2
Update props_traits.py
Add a few check to navmesh generation and message logs
2019-08-11 11:49:06 -03:00
user d21ff3e9d8 update 2019-08-07 12:02:36 -03:00
luboslenco 5c9f1ed6d9 Use default gapi for player 2019-07-15 09:21:23 +02:00
MoritzBrueckner 0b5505f0ca Better property name 2019-06-23 16:58:06 +02:00
MoritzBrueckner 5cf8811acf hide is_object property in UI also for canvas/UI traits 2019-06-23 14:51:44 +02:00
MoritzBrueckner 8cb9b10423 Hide is_object property from user during trait script creation
This property is used internally only and doesn't need to be exposed to the UI
2019-06-23 12:57:39 +02:00
MoritzBrueckner 96cf036b0a Cleanup whitespace 2019-06-23 12:56:32 +02:00
eduardogr fa78b05765 Fix issue reading trait properties
Change ArmTraitPropList to ARM_UL_PropList following latest blender API
changes
2019-04-01 22:30:53 +01:00
Urjasvi 318e875013 update addon to latest blender api changes 2019-03-29 19:25:42 +05:30