Permalink
Browse files

Fix shader subjects not triggering instance obsoletion on effective s…

…hader change.
  • Loading branch information...
Shinmera committed Oct 29, 2017
1 parent 99e3824 commit 83570f9afd77b1dab0047d1016c37139515d61cb
Showing with 5 additions and 0 deletions.
  1. +5 −0 shader-subject.lisp
View
@@ -9,6 +9,11 @@
(defclass shader-subject-class (subject-class shader-entity-class)
())
(defmethod (setf effective-shaders) :after (shaders (class shader-subject-class))
;; Mark as obsolete
(setf (class-redefinition-event-sent class) NIL)
(make-instances-obsolete class))
(defclass shader-subject (subject shader-entity)
()
(:metaclass shader-subject-class))

0 comments on commit 83570f9

Please sign in to comment.