a while ago I tried adding a custom active tool in texture paint mode. I then got an error which I submitted as a bug. The bug was confirmed, but hasn't been worked on in the last few months. Then someone commented that the problem might be the circle select which I had in my script from the default code. While that would have made sense, removing it didn't resolve the error.

Now I'm wondering if I'm missing something else or if it's just a bug as I initially thought.

The scripts as well as the conversation can be found here: https://developer.blender.org/T63892

  • $\begingroup$ Do you mean to use Circle Select as well as paint tool at the same time? When using Texture paint mode and using Face Select Masking, Circle Select can be called with C key and then after the selection is made, you can escape the selection mode and paint.Other than that, I am not sure what you mean here. $\endgroup$ – Craig D Jones Jul 26 at 16:39
  • $\begingroup$ I'm trying to create a active tool with Python for an add-on. If you just take the default script for that provided under the templates, it's an active tool in object mode, which replicates the circle select tool. I changed the mode to texture paint, because that's what I'm trying to add the tool for. I forgot to remove the circle select because that obviously doesn't exist in texture painting. But even then registering that tool returns an error. I'm now wondering if I messed something up or if it's actually a bug. $\endgroup$ – Joshua Knauber Jul 26 at 16:57
  • $\begingroup$ But why do you need it in Texture Paint mode? The Circle Select in Texture Paint doesn't allow paint while selecting, and is only a convenience to avoid redrawing the window to go to edit mode and back again. Are you wanting to create a tool that supersedes the current paint tool? You might then have to also toggle the face selection masking mode so that the circle select active tool will work in the texture Paint mode. $\endgroup$ – Craig D Jones Jul 26 at 17:02
  • $\begingroup$ The circle select is just from the default script, I don't actually need it in any way. I want to create a tool that combines a few things including features from multiple of the texture painting tools. $\endgroup$ – Joshua Knauber Jul 26 at 18:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.