Cleanup: error in last commit

This commit is contained in:
Campbell Barton
2019-06-27 16:48:48 +10:00
parent 4758b4033e
commit d3f9a722fe

View File

@@ -661,8 +661,6 @@ bToolRef *WM_toolsystem_ref_set_by_id(
WM_operator_properties_create_ptr(&op_props, ot);
RNA_string_set(&op_props, "name", name);
BLI_assert((1 << tkey->space_type) & WM_TOOLSYSTEM_SPACE_MASK);
BLI_assert((1 << tkey->space_type) & WM_TOOLSYSTEM_SPACE_MASK);
RNA_enum_set(&op_props, "space_type", tkey->space_type);