mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 10:23:41 +00:00
IFC Join - add description
This commit is contained in:
@@ -73,9 +73,7 @@ class OverrideMeshSeparate(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
bl_idname = "bim.override_mesh_separate"
|
bl_idname = "bim.override_mesh_separate"
|
||||||
bl_label = "IFC Mesh Separate"
|
bl_label = "IFC Mesh Separate"
|
||||||
blender_op = bpy.ops.mesh.separate.get_rna_type()
|
blender_op = bpy.ops.mesh.separate.get_rna_type()
|
||||||
bl_description = (
|
bl_description = blender_op.description + ".\nAlso makes sure changes are in sync with IFC."
|
||||||
blender_op.description + ".\nAlso makes sure changes are in sync with IFC (operator works only on IFC objects)"
|
|
||||||
)
|
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
blender_type_prop = blender_op.properties["type"]
|
blender_type_prop = blender_op.properties["type"]
|
||||||
type: bpy.props.EnumProperty(
|
type: bpy.props.EnumProperty(
|
||||||
@@ -1533,6 +1531,12 @@ class RefreshLinkedAggregate(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
class OverrideJoin(bpy.types.Operator, tool.Ifc.Operator):
|
class OverrideJoin(bpy.types.Operator, tool.Ifc.Operator):
|
||||||
bl_idname = "bim.override_object_join"
|
bl_idname = "bim.override_object_join"
|
||||||
bl_label = "IFC Join"
|
bl_label = "IFC Join"
|
||||||
|
blender_op = bpy.ops.mesh.separate.get_rna_type()
|
||||||
|
bl_description = (
|
||||||
|
blender_op.description
|
||||||
|
+ ".\nAlso makes sure changes are in sync with IFC."
|
||||||
|
+ "\nIf IFC object is joined into non-IFC object, it will be removed from IFC."
|
||||||
|
)
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
|
|
||||||
target: bpy.types.Object
|
target: bpy.types.Object
|
||||||
|
|||||||
Reference in New Issue
Block a user