diff options
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_context.c')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c index 18ba149d7ed..c4bdd3a6c5b 100644 --- a/source/blender/editors/space_buttons/buttons_context.c +++ b/source/blender/editors/space_buttons/buttons_context.c @@ -626,7 +626,7 @@ int buttons_context(const bContext *C, const char *member, bContextDataResult *r Brush *br= ptr->data; if(br) - CTX_data_pointer_set(result, &br->id, &RNA_BrushTextureSlot, br->mtex[(int)br->texact]); + CTX_data_pointer_set(result, &br->id, &RNA_BrushTextureSlot, &br->mtex); } return 1; |