Comments (5)
I think this is to be expected as the any_dcc_sample is adding the menu "Tools" which already exists. testing with adding to "edit" results are the same
Unsure as to why it duplicates the menu atm
from unimenu.
setting the id in the config, is then used here to correctly add a unique sub menu
unimenu/unimenu/apps/unreal.py
Line 28 in 5ea3f94
from unimenu.
a solution could be to prepend the self.id so we get with some string or a random id or a defined string here
unimenu/unimenu/apps/unreal.py
Line 8 in 5ea3f94
something like self.id = f"unm_{self.id}"
?
from unimenu.
I'll see if i can raise a warning or error in case of duplicate names.
i considered the unimenu prepending before.
the reason i didn't go ahead with it is because it makes it more complex for the user to keep track of the names when you want to insert a menu in another menu.
If I make menu A, and name it menu_a
, unimenu will now rename it to unm_menu_a
.
I have to now read the docs and know about this, else I might get confused later.
If I make menu B, and name it menu_b
, and want to parent it to menu A. I would expect the parent path to be menu_a
Let's say I did read the docs, and know it adds unm_
, and add that to the name. great parenting works now. but i have to not do this if i want to add to a default unreal menu. So sometimes i do sometimes i don't.
from unimenu.
pushed a commit that will raise an error if there are duplicate names.
from unimenu.
Related Issues (20)
- Add support for shortcut keys HOT 2
- support extending menus HOT 2
- add katana support HOT 1
- add mari support HOT 2
- use detect app dependency HOT 1
- global local vars issue HOT 1
- code quality improvement HOT 1
- bug in blender HOT 1
- test new environment on release workflow HOT 2
- Maybe move to Qt.py as a Qt Shim HOT 8
- License? HOT 1
- maya sample errors HOT 3
- Unreal Menu setup , parent_p HOT 3
- track issue with menu max or maya HOT 3
- unclear warning if yaml not installed HOT 1
- unicodeescape error trying to read config in maya from path HOT 1
- Append Unreal ContentBrowser Folder Context Menu? HOT 7
- Maya - support runtime commands
- Blender - add documentation URL support to menu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unimenu.