Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-04-22 10:59:41 +0400
committerMatt Ebb <matt@mke3.net>2010-04-22 10:59:41 +0400
commita2b6abeee15f359ddeafdea7a2f3a965da0bf410 (patch)
tree57d81fe3a168e26e5895d781c2d054d62c9141f9 /source/blender/editors/object/object_modifier.c
parent5c948964901435ee22596dc6180284605ab3b52d (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.c4
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)