Workspace: Move engines to workspace and Properties Editor cleanup
[blender.git] / release / scripts / startup / bl_ui / properties_object.py
index 0d8309268fb0e36396eca891add769a7bbcfca4e..dc14396a285a5d8560a59748f42b43567c4b9e33 100644 (file)
@@ -163,7 +163,7 @@ class OBJECT_PT_relations_extras(ObjectButtonsPanel, Panel):
 
         split = layout.split()
 
-        if context.scene.render.engine != 'BLENDER_GAME':
+        if context.engine != 'BLENDER_GAME':
             col = split.column()
             col.label(text="Tracking Axes:")
             col.prop(ob, "track_axis", text="Axis")