This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
import blf | |
import bgl | |
import random | |
def drawCallback(self): | |
blf.size(0, 16, 72) | |
text = ('Last changed: ' + self.currentPropName) if self.currentPropName else 'Press LEFT or RIGHT to change color, ESC to stop' |