Skip to content

Commit

Permalink
Ignore color source image instead
Browse files Browse the repository at this point in the history
  • Loading branch information
carson-katri committed Apr 21, 2023
1 parent a41d31f commit 283322a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/nodes/pipeline_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ def execute(self, context, prompt, negative_prompt, width, height, steps, seed,

shared_args = context.depsgraph.scene.dream_textures_engine_prompt.generate_args()

# the source image is a default color, turn it into an image.
# the source image is a default color, ignore it.
if np.array(source_image).shape == (4,):
source_image = np.tile(source_image, (512, 512, 1))
source_image = None

if controlnets is not None:
if not isinstance(controlnets, list):
Expand Down

0 comments on commit 283322a

Please sign in to comment.