Issue #3039 fix ifpImage class cast exception
Former-commit-id:2b6db445c0
[formerly2b6db445c0
[formerly a2fd849c603aebacce09662557bf1f008d379982]] Former-commit-id:31fb61e824
Former-commit-id:a1dd7f24fa
This commit is contained in:
parent
700080e879
commit
7e7bbfd784
1 changed files with 4 additions and 2 deletions
|
@ -21,6 +21,7 @@
|
|||
from com.raytheon.uf.viz.core import GraphicsFactory
|
||||
from com.raytheon.uf.viz.core.drawables import PaintProperties
|
||||
from com.raytheon.viz.core.gl import GLTargetProxy
|
||||
from com.raytheon.uf.viz.core.rsc import ResourceProperties
|
||||
|
||||
#
|
||||
# Base class for Viz painting from python
|
||||
|
@ -32,6 +33,7 @@ from com.raytheon.viz.core.gl import GLTargetProxy
|
|||
# ------------ ---------- ----------- --------------------------
|
||||
# 04/01/09 njensen Initial Creation.
|
||||
# 08/20/2012 #1077 randerso Fixed backgroundColor setting
|
||||
# Apr 16, 2014 3039 njensen Ensure correct ResourceList.add() is used
|
||||
#
|
||||
#
|
||||
#
|
||||
|
@ -83,7 +85,7 @@ class VizPainter():
|
|||
desc = self.getDescriptor()
|
||||
vizResource.setDescriptor(desc)
|
||||
vizResource.init(self.target)
|
||||
desc.getResourceList().add(vizResource)
|
||||
desc.getResourceList().add(vizResource, ResourceProperties())
|
||||
|
||||
def paint(self, time, canvas=None):
|
||||
if type(time) is str:
|
||||
|
|
Loading…
Add table
Reference in a new issue