Page MenuHome

Erasing blank canvas activates Move operator
Closed, ResolvedPublic

Description

System Information
Operating system: win 7
Graphics card: Vega 64
Full System Information: Here

Blender Version
Broken: -d3870471edd7-windows32

Short description of error

Erasing a blank canvas activates move operator

Exact steps for others to reproduce the error

  • Open Blender
  • New --> 2D Animation
  • Start erasing

Details

Type
Bug

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.Feb 12 2019, 2:29 PM

Note that this is only an issue with left click select.

Isn't it for the same reason trying to fill a locked layer activates the Move operator?
I guess the operator poll is returning false, and the next operator in line is the move?

@Dalai Felinto (dfelinto) Yes, I think this is the issue... the eraser poll return false because no active strokes, so the next operator is executed.

I could change the poll to return true and capture the event, but not sure this is a good solution.

@Antonio Vazquez (antoniov) hm why is moving a layer assigned to click in the first place? Why does it even work in a locked layer?
Mixed feelings about letting poll return true, since it is not the real fix I think.

This must be solved with the yesterday commit 76747d0a1158