diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-07-17 21:31:12 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-07-17 21:31:12 +0400 |
commit | 64a172907ac12a940a4bcd0c2ad27e294c2f6192 (patch) | |
tree | 9b147715f806518cd7a0a24f9852207399e2aa2c /source | |
parent | 0b8d9467ea1a4dee9a7a3fc47f91e6a85a3a65ef (diff) |
Hide unnecessary error print when showing tooltip over a property with no RNA
path, ideally this would work everywhere but it's a known limitation, no need
to print an error in the console each time it happens.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 097f042d6c9..b59e06cbc0e 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -962,10 +962,10 @@ static bool ui_but_event_property_operator_string(const bContext *C, uiBut *but, data_path = BLI_sprintfN("scene.%s", path); MEM_freeN(path); } - else { + /*else { printf("ERROR in %s(): Couldn't get path for scene property - %s\n", __func__, RNA_property_identifier(but->rnaprop)); - } + }*/ } } else { |