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:
authorCampbell Barton <ideasman42@gmail.com>2018-11-21 05:04:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-21 05:04:03 +0300
commit18593c7cd3ff3f63cec7115a5c8e0d8e51a7b784 (patch)
tree6c661163fe22572e784a9daa7ebc062ea2718289 /source/blender/editors/include
parenta86a1292f3ae9e303dddbf7c974790d58251e07b (diff)
Cleanup: add reveal_hidden arg to jump-to API calls
Jumping to data shouldn't necessarily change hidden status or visible layers.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_object.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h
index 45cb02a77ea..1101c966118 100644
--- a/source/blender/editors/include/ED_object.h
+++ b/source/blender/editors/include/ED_object.h
@@ -304,8 +304,12 @@ void ED_object_check_force_modifiers(
struct Base *ED_object_find_first_by_data_id(struct ViewLayer *view_layer, struct ID *id);
-bool ED_object_jump_to_object(struct bContext *C, struct Object *ob);
-bool ED_object_jump_to_bone(struct bContext *C, struct Object *ob, const char *bone_name);
+bool ED_object_jump_to_object(
+ struct bContext *C, struct Object *ob,
+ const bool reveal_hidden);
+bool ED_object_jump_to_bone(
+ struct bContext *C, struct Object *ob, const char *bone_name,
+ const bool reveal_hidden);
/* object_facemap_ops.c */
void ED_object_facemap_face_add(struct Object *ob, struct bFaceMap *fmap, int facenum);