diff --git a/space_view3d_copy_attributes.py b/space_view3d_copy_attributes.py
index 099e1935318fa3f3683af0fa1712c1ecf72e518a..aed81ef1fd4955ecdd4000a033c0dd2e178c6930 100644
--- a/space_view3d_copy_attributes.py
+++ b/space_view3d_copy_attributes.py
@@ -306,6 +306,7 @@ def obDrw(ob, active, context):
     ob.show_texture_space = active.show_texture_space
     ob.show_transparent = active.show_transparent
     ob.show_wire = active.show_wire
+    ob.show_x_ray = active.show_x_ray
     ob.empty_draw_type = active.empty_draw_type
     ob.empty_draw_size = active.empty_draw_size