Skip to content

Commit

Permalink
Merge branch 'main' into docs-prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston authored Dec 19, 2024
2 parents f1a1679 + 3fc2eb8 commit 77303a6
Show file tree
Hide file tree
Showing 31 changed files with 52 additions and 1,317 deletions.
2 changes: 1 addition & 1 deletion molecularnodes/blender/coll.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import bpy
from bpy.types import Collection
from ..bpyd.collection import create_collection
from databpy.collection import create_collection


def mn() -> Collection:
Expand Down
2 changes: 1 addition & 1 deletion molecularnodes/blender/material.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from bpy.types import Material
from ..bpyd.material import append_from_blend
from databpy.material import append_from_blend
from ..utils import MN_DATA_FILE

MATERIAL_NAMES = [
Expand Down
4 changes: 2 additions & 2 deletions molecularnodes/blender/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import numpy as np

from . import coll, nodes
from ..bpyd.attribute import AttributeTypes
from ..bpyd.object import create_bob
from databpy.attribute import AttributeTypes
from databpy.object import create_bob


def evaluate_using_mesh(obj: bpy.types.Object) -> bpy.types.Object:
Expand Down
6 changes: 3 additions & 3 deletions molecularnodes/blender/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

from .. import color, utils
from . import mesh
from .. import bpyd
from ..bpyd.nodes import (
import databpy
from databpy.nodes import (
NodeGroupCreationError,
append_from_blend,
swap_tree,
Expand Down Expand Up @@ -560,7 +560,7 @@ def create_assembly_node_tree(
"name": "assembly_id",
"type": "NodeSocketInt",
"min": 1,
"max": max(bpyd.named_attribute(data_object, "assembly_id")),
"max": max(databpy.named_attribute(data_object, "assembly_id")),
"default": 1,
},
)
Expand Down
19 changes: 0 additions & 19 deletions molecularnodes/bpyd/__init__.py

This file was deleted.

Loading

0 comments on commit 77303a6

Please sign in to comment.