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>2021-03-12 04:51:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-12 08:13:36 +0300
commit8125731caef79690dd25a839b1fc8ad48efac7d1 (patch)
treed08d84d4a6596de061fb503bb14cbc9caa0fd129 /source/blender/modifiers
parentd3fa576aa704a1eeed75244d4b2a124989cd0d50 (diff)
Cleanup: break out of loop early
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_uvproject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_uvproject.c b/source/blender/modifiers/intern/MOD_uvproject.c
index 487250eb4e3..3162a33edc2 100644
--- a/source/blender/modifiers/intern/MOD_uvproject.c
+++ b/source/blender/modifiers/intern/MOD_uvproject.c
@@ -337,6 +337,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
PointerRNA ob_projector = RNA_pointer_get(&projector_ptr, "object");
if (!RNA_pointer_is_null(&ob_projector) && RNA_enum_get(&ob_projector, "type") == OB_CAMERA) {
has_camera = true;
+ break;
}
}
RNA_END;