Page MenuHome

Active tool in texture paint mode can't be registered
Open, Confirmed, MediumPublic

Description

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: Intel(R) HD Graphics 620 Intel 4.5.0 - Build 24.20.100.6136

Blender Version
Broken: version: 2.80 (sub 59), branch: blender2.7, commit date: 2019-04-24 22:25, hash: rBd966c2f0c2ad

Short description of error
When trying to create an active tool in texture painting mode, a error message appears and the tool can't be registered.

Exact steps for others to reproduce the error

  • Load the script template for a UI tool simple
  • Remove the information for the second tool
  • Change the bl_context_mode to "PAINT_TEXTURE"
  • Run script: Name error: name "context" is not definded

Details

Type
Bug

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.Fri, Apr 26, 3:05 PM