Trait properties doesn't work anymore
See original GitHub issueDescription Trait properties doesn’t show up in the Blender UI as explained here https://github.com/armory3d/armory/wiki/traits#trait-properties .
To Reproduce
Simply add a trait that should have a property to an object, like for example the bundled SimpleRotateObject
.
Expected behavior
Armory Traits Blender UI panel should show the Trait Properties subpanel with the speed
property, but it doesn’t.
System Blender: 2.82a and 2.83.3 Armory: Git version. OS: Linux Mint 19.2 (linux 4.15.0-112-generic x86_64) Graphics card: NVIDIA Quadro M2000M 4 GB
This may be related to https://github.com/armory3d/armory/issues/1731#issuecomment-671299262 .
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Overriding Doctrine Trait Properties - php - Stack Overflow
The best thing to do would be to just try. Create an entity using traits, use Doctrine's schema tool to see what the...
Read more >Traits
While traits support public fields, it is not recommanded to use them and considered as a bad practice. Composition of behaviors. Traits can...
Read more >Traits and Properties - Suggestion for adjustments - Feedback
Properties: In my opinion, properties are there to emphasize weapon strong points or weaken weak points. Not to add new strength or completely ......
Read more >Advanced Topics — Traits 6.4 Documentation
The Traits package supports declaring and implementing interfaces. An interface is an abstract data type that defines a set of attributes and ...
Read more >[Serializer] Cannot deserialize properties from traits declared ...
When a model use a trait from a different namespace which have a property defined in the trait namespace, the serializer guess the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MoritzBrueckner thanks for you help — and sorry, I’ve found the bug this morning (evening here right now), but I work in the afternoon, so I’ve leaved it.
Just changing some
rsplit('.')
forrsplit('.', 1)
solves the problems. I’ll create a pull request tomorrow… or this week, depending of my free time.By the way, the problem does occur when you have some dot in ArmorySDK path.
When i had open your file, there is not the property tab too, but it appear as i had added another bundle:
If you are using Blender from a repository, i recommend you to download from the site instead, because i already have problems with enabling terminal and add-ons while using Blender from a repository. I think when you download it from a repository manager, the program goes to the system folder, where add-ons can’t have full access to modify files, at least in solus is like that.