question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trait properties doesn't work anymore

See original GitHub issue

Description 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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Sanvacommented, Aug 18, 2020

@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('.') for rsplit('.', 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.

1reaction
knowledgenudecommented, Aug 17, 2020

When i had open your file, there is not the property tab too, but it appear as i had added another bundle:

image

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found