-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LayeredImage auto not populating attributes #5518
Comments
Your code has indent issues. |
Hi, yes, sorry, the actualy code doesn't, I copied and pasted it badly. Here it is. I've also edited the code snippet to be correct. it's: character_left_norm.png |
I reproduce that behavior using dummy images ( |
How strange. That's the file names, though it's actually: images/character/character_fringe.png etc. To my understanding though the pattern ignores the folders and the folders are just for our benefit as devs. But as mentioned, collapsing everything down into the images folder and recompiling didn't fix the issue, so it must be something I've written into this snippet. Thank you for testing it, I'll keep trying to tweak small things and see what it is I've done incorrectly. I avoided the usual strings we should avoid in Python... probably isn't the names themselves. I'll be back if I find what it is that RenPy is disliking. :^ ) |
Any luck yet? |
Ah, sorry - nah, no luck. I have no idea what the issue is! |
First of all, thanks for making RenPy. I think what I have may be a bug and not me being stupid, but if I am, sorry!
Using auto doesn't populate the attributes of a layeredimage for me (8.2.1). They can't be used in the file ('unknow attribute' when using show, nothing at all with a proxied side images). They don't show up on the inspector.
Uncertain if this truly is a but but I've seen a related issue here: https://lemmasoft.renai.us/forums/viewtopic.php?t=50663 and here https://lemmasoft.renai.us/forums/viewtopic.php?t=60875. I notice someone could only fix it by starting a new file.
My project is quite new. I tried a force recompile, but no real success.
RenPy has no problem finding the images. A direct call to them or just group eyes: attribute frown will find character_eyes_frown for example. The issue I am having is just that auto isn't... being very automatic.
Additionally, when I define attributes as 'attribute frown' (instead of attribute frown: "images/character/eyes/character_eyes_frown.png") I can't remove defaults. When I define it with the exact filepath, I can remove defaults. When using attribute frown, when I right click to toggle it off, the editor recognises I've turned it off, but then doesn't actually turn it off. I'm aware that removing a character's eyes is a bizarre use case but you know what I mean.
Here it is. Files are set up as
/images/<character>/<group>/<character>_<group>_<attribute>.png
but folding them into the base didn't help. As stated, RenPy is finding them just fine, just not for auto.EDIT: Fixed copy-paste idnenting issue, sorry for confusion.
The text was updated successfully, but these errors were encountered: