You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you trying to do, and what do you expect to happen?
Attempting to use onStrokeEnd() in my plugin's brush tool. I expect the method to be called after ending a brush stroke when the plugin's brush tool is selected.
What happens instead?
The BrushOptions.onStrokeEnd method is not called on selected brush tools. In Painter.stopPaintTool, a ReferenceError is thrown at painter.js:267 because the variables x, y, uv, event, and data are not in the current scope.
Model format in which the issue occurs
Any format
Blockbench variant
Program
Blockbench version
4.10.3
Operating System
Windows 11
Installed Blockbench plugins
PBR Preview
The text was updated successfully, but these errors were encountered:
JannisX11
added
the
bug
An issue, where the program does not do what it is supposed to
label
Jun 12, 2024
What are you trying to do, and what do you expect to happen?
Attempting to use
onStrokeEnd()
in my plugin's brush tool. I expect the method to be called after ending a brush stroke when the plugin's brush tool is selected.What happens instead?
The
BrushOptions.onStrokeEnd
method is not called on selected brush tools. InPainter.stopPaintTool
, aReferenceError
is thrown at painter.js:267 because the variablesx
,y
,uv
,event
, anddata
are not in the current scope.Model format in which the issue occurs
Any format
Blockbench variant
Program
Blockbench version
4.10.3
Operating System
Windows 11
Installed Blockbench plugins
PBR Preview
The text was updated successfully, but these errors were encountered: