Skip to content

Commit 0b44e14

Browse files
committed
Fix error starting Bonsai (77697ae)
1 parent cf42f98 commit 0b44e14

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • src/bonsai/bonsai/bim/module/sequence

src/bonsai/bonsai/bim/module/sequence/ui.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# You should have received a copy of the GNU General Public License
1717
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
1818

19+
from __future__ import annotations
20+
1921
from typing import TYPE_CHECKING, Any, Optional
2022

2123
import bpy
@@ -802,8 +804,8 @@ def draw_item(
802804
self,
803805
context,
804806
layout: bpy.types.UILayout,
805-
data: "BIMWorkScheduleProperties",
806-
item: "Attribute",
807+
data: BIMWorkScheduleProperties,
808+
item: Attribute,
807809
icon,
808810
active_data,
809811
active_propname,
@@ -901,8 +903,8 @@ def draw_item(
901903
self,
902904
context,
903905
layout: bpy.types.UILayout,
904-
data: "BIMTaskTreeProperties",
905-
item: "Task",
906+
data: BIMTaskTreeProperties,
907+
item: Task,
906908
icon,
907909
active_data,
908910
active_propname,

0 commit comments

Comments
 (0)