diff options
author | Matt Ebb <matt@mke3.net> | 2010-04-22 10:59:41 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-04-22 10:59:41 +0400 |
commit | a2b6abeee15f359ddeafdea7a2f3a965da0bf410 (patch) | |
tree | 57d81fe3a168e26e5895d781c2d054d62c9141f9 /source/blender/editors/object/object_modifier.c | |
parent | 5c948964901435ee22596dc6180284605ab3b52d (diff) |
Fix [#22097] missing panels in texture tab
Made texture/texture slot context a bit less flaky when dealing with active material and
texture nodes inside a node material in the node editor. Now if the active material has
nodes enabled, and there are no active material/texture nodes inside it, nothing will be
shown in the texture properties (similar to 2.49).
Diffstat (limited to 'source/blender/editors/object/object_modifier.c')
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index 1e87cd73215..8dccbb33666 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -573,7 +573,7 @@ void OBJECT_OT_modifier_add(wmOperatorType *ot) ot->prop= prop; } -/************************ poll function for operators using mod names and data context *********************/ +/************************ generic functions for operators using mod names and data context *********************/ static int edit_modifier_poll_generic(bContext *C, StructRNA *rna_type) { @@ -593,7 +593,7 @@ static int edit_modifier_poll(bContext *C) static void edit_modifier_properties(wmOperatorType *ot) { - RNA_def_string(ot->srna, "modifier", "", 32, "Modifier", "Name of the modifier to apply"); + RNA_def_string(ot->srna, "modifier", "", 32, "Modifier", "Name of the modifier to edit"); } static int edit_modifier_invoke_properties(bContext *C, wmOperator *op) |