diff --git a/add_camera_rigs/operators.py b/add_camera_rigs/operators.py
index 646566ae52928ea84528efcbedec02fe1da2c1f5..18300e0855057f47f72d30b6a18173ecc1a00b01 100644
--- a/add_camera_rigs/operators.py
+++ b/add_camera_rigs/operators.py
@@ -5,7 +5,10 @@ from bpy.types import Operator
 
 
 def get_rig_and_cam(obj):
-    if obj.type == 'ARMATURE':
+    if (obj.type == 'ARMATURE'
+            and "rig_id" in obj
+            and obj["rig_id"].lower() in {"dolly_rig",
+                                          "crane_rig", "2d_rig"}):
         cam = None
         for child in obj.children:
             if child.type == 'CAMERA':