Comments (10)
I'm also experiencing this bug. I'm trying to get a hang of the plugin and this bug is making it very difficult. Occasionally, pressing edit will actually enter edit mode, but I can't figure out how to make that happen more often.
from voxel-core.
Sorry for the inconvenience, yes this bug is already known it occurs when trying to edit a VoxelObject with a sub resource selected, which you appear to be doing as I can see the VoxelSet Editor at the bottom panel. You can "fix" this by unselecting the sub resource, but this isn't really a permanent fix 😕
As mentioned in #48 I've tried to debug this issue multiple times before, but it's hard due to the way Godot handles its internal editor events. However, I haven't taken a look recently so maybe something has changed, I'll take a look again and see if I can come up with a fix 👍
from voxel-core.
Thanks for the quick response.
How do I "unselect the subresource" ?
@ClarkThyLord have you tried asking some of the godot contributors in https://chat.godotengine.org/home or in the discord channel? I'm sure they're willing to help.
from voxel-core.
To unselect sub resources, simply select any resources that are highlighted in-editor, such as a VoxelSet or Mesh.
Also I took a look, and was able to figure out a patch 🙌
I've now merged the patch, so no need to unselect sub resources now! If you can, please update your project with the latest changes and try it out again, let me know if that resolved the encountered issue, thanks.
from voxel-core.
ok, so now I can select "Editing", but the voxel cursor doesn't appear and Output gets flooded with errors.
I did a bit of debugging and the source of the errors is the update_selections function, looks like an issue with SelectionMode. The function seems to run fine once (prev is 0), then the errors come.
I also learned today that breakpoints don't work in tool scripts, which I suppose makes a lot of sense.
from voxel-core.
@HorseLuvver That's odd, I did some testing with a new cloned repo and on two different computers but haven't gotten any error outputs when editing VoxelObjects in-engine. Mind giving me more details, what version of Godot are you running? Have you modified the plugin yourself? Did you update all the plugin files with the latest? If so how? Also, have you tried closing and opening the project again? That always seems to help me 😂
And yes, not being able to use breakpoints makes debugging plugins and tool scripts tricky at time 😅
But you can always rely on print statements 🙌
from voxel-core.
Sure, I'm on Godot 3.4.2. I'm not 100% sure how (or if, I guess) the plugin was updated, just went to update it and noticed the edit button was working, and figured it already had. Though it would have been through the editor somehow, there's an update button in the plugin screen that I might have pressed and not remember. I have made VoxelObject a global class so the class list is more consistent, but that wouldn't really mess with anything I don't think. I did also play around with VoxelWorldSize a bit, along with the distance of the camera to the voxel in the voxel viewer, but both of those are back to their defaults now. I don't think there is anything else besides debugging. And reloading the project was the only way I could get the update_selections function to run at all, so I did that many times.
from voxel-core.
@HorseLuvver I see, I don't believe Godot updates addons files by itself, you're probably running an old old version of the plugin. If that's the case, try downloading the files directly from GitHub and replacing them within your project, that should fix it up 🤔
Other than that, I don't believe the changes you mentioned could cause these type of errors.
from voxel-core.
@ClarkThyLord so i removed the addon and reinstalled and it didn't work.
Then i downloaded the files from github and it DID work! Thanks!
Probably you have to create a new release.
from voxel-core.
Great, I'll go ahead and close this issue for now then, any future problems can be reported via a new issue, thanks.
And yes, I've yet to update the version on the Godot Asset Library, will do in the future 👍
from voxel-core.
Related Issues (20)
- Unable to load addon script from path with Zylann's godot_voxel module build HOT 2
- Color picker, isn't working HOT 3
- Document methods in the wiki HOT 1
- Ability to select, move, copy and paste voxelobject voxels and areas HOT 1
- Feature Request: Import multiple objects from complex MagicaVoxel File HOT 1
- VoxelObject Menu closing after modfiying voxels in VoxelSet HOT 3
- VoxelWorldSize does not exist HOT 2
- Make in-engine editor menus modular
- VoxelSet voxel IDs shift whenever removing a voxel
- VoxelBoxMesh
- Improve error handling
- Improve Readers
- Raw color/HDR color support HOT 2
- Godot-mono (3.4) crashes on using VoxelObject HOT 2
- Static Body Voxel Mesh is not Threadsafe HOT 1
- voxel set: UI for picking colors and textures keeps expanding HOT 1
- Voxel-Set: support for costum voxel meshes HOT 2
- Updating for Godot 4?
- Port to godot 4 HOT 4
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 voxel-core.