We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Color8
1 parent faee8ba commit dfb46ceCopy full SHA for dfb46ce
tutorials/plugins/editor/import_plugins.rst
@@ -315,9 +315,9 @@ that the import wasn't successful.
315
316
var color
317
if options.use_red_anyway:
318
- color = Color8(255, 0, 0)
+ color = Color.from_rgba8(255, 0, 0)
319
else:
320
- color = Color8(int(channels[0]), int(channels[1]), int(channels[2]))
+ color = Color.from_rgba8(int(channels[0]), int(channels[1]), int(channels[2]))
321
322
This code takes the line of the file it read before and splits it in pieces
323
that are separated by a comma. If there are more or less than the three values,
0 commit comments