A community-maintained Python framework for creating mathematical animations.
Fix bug when using Text with the opengl renderer. (#1729)
Laith Bahodi934f133f2b85
diff --git a/manim/mobject/opengl_mobject.py b/manim/mobject/opengl_mobject.pyindex 604db4390..0a88cc058 100644--- a/manim/mobject/opengl_mobject.py+++ b/manim/mobject/opengl_mobject.py@@ -6,6 +6,7 @@ from functools import wrapsimport modernglimport numpy as np+from colour import Colorfrom .. import configfrom ..constants import *@@ -59,7 +60,7 @@ class OpenGLMobject:**kwargs,):- self.color = color+ self.color = Color(color)self.opacity = opacityself.dim = dim # TODO, get rid of this# Lighting parameters