|
|
@ -431,6 +431,10 @@ class PlasmaLinkingBookModifier(PlasmaModifierProperties, PlasmaModifierLogicWiz |
|
|
|
description="Enable the Book to be Shareable (MOUL private instance only)", |
|
|
|
description="Enable the Book to be Shareable (MOUL private instance only)", |
|
|
|
default=False, |
|
|
|
default=False, |
|
|
|
options=set()) |
|
|
|
options=set()) |
|
|
|
|
|
|
|
shr_region = PointerProperty(name="Share Region (optional)", |
|
|
|
|
|
|
|
description="Sets an alternate share region (optional)", |
|
|
|
|
|
|
|
type=bpy.types.Object, |
|
|
|
|
|
|
|
poll=idprops.poll_mesh_objects) |
|
|
|
|
|
|
|
|
|
|
|
# -- Path of the Shell options -- |
|
|
|
# -- Path of the Shell options -- |
|
|
|
# Popup Appearance |
|
|
|
# Popup Appearance |
|
|
@ -641,7 +645,10 @@ class PlasmaLinkingBookModifier(PlasmaModifierProperties, PlasmaModifierLogicWiz |
|
|
|
if self.shareable: |
|
|
|
if self.shareable: |
|
|
|
# Region |
|
|
|
# Region |
|
|
|
share_region = nodes.new("PlasmaVolumeSensorNode") |
|
|
|
share_region = nodes.new("PlasmaVolumeSensorNode") |
|
|
|
share_region.region_object = clk_region |
|
|
|
if self.shr_region is None: |
|
|
|
|
|
|
|
share_region.region_object = clk_region |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
share_region.region_object = self.shr_region |
|
|
|
share_region.bounds = "hull" |
|
|
|
share_region.bounds = "hull" |
|
|
|
for i in share_region.inputs: |
|
|
|
for i in share_region.inputs: |
|
|
|
i.allow = True |
|
|
|
i.allow = True |
|
|
|