Giter VIP home page Giter VIP logo

Comments (10)

auralluring avatar auralluring commented on August 24, 2024

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.

ClarkThyLord avatar ClarkThyLord commented on August 24, 2024

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.

ottovw avatar ottovw commented on August 24, 2024

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.

ClarkThyLord avatar ClarkThyLord commented on August 24, 2024

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.

auralluring avatar auralluring commented on August 24, 2024

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.

ClarkThyLord avatar ClarkThyLord commented on August 24, 2024

@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.

auralluring avatar auralluring commented on August 24, 2024

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.

ClarkThyLord avatar ClarkThyLord commented on August 24, 2024

@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.

ottovw avatar ottovw commented on August 24, 2024

@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.

ClarkThyLord avatar ClarkThyLord commented on August 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.