Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
| source/blender/editors/animation/anim_draw.c | ||
|---|---|---|
| 101 | This calls glColor indirectly, so must be changed. You can use immUniformThemeColorShade after binding GPU_SHADER_2D_UNIFORM_COLOR. | |
| 176 | Since you're using uniform color, do this once after immBind... immUniformColor4f(0.0f, 0.0f, 0.0f, 0.4f); Then call immRectf below. | |
| source/blender/editors/animation/anim_draw.c | ||
|---|---|---|
| 163 | We were thinking the same thing! Now this color attribute is not needed. | |
Comment Actions
Almost done!
| source/blender/editors/animation/anim_draw.c | ||
|---|---|---|
| 134 | immUniformThemeColor(TH_CFRAME); here instead of UI_ThemeColor(TH_CFRAME); above. | |