Changing texture ignored.

2003-01-12
2003-01-14
  • yuichi sugimura

    yuichi sugimura - 2003-01-12

    In setting-default-background-color usage,
    changing texture is completely ignored.

    The reason is that image cache is not flushed in
    setTextureURL(URL) method.

        public void setTextureURL(URL url)
        {
            if (!isTexture() || url == null)
                return;
            m_textureURL = url;
            m_dirty = true;
                    m_image = null; // You should also do this
        }   //  setTextureURL

    Fixing this way makes getTextureImage() method works well.

    Really nice Look and Feel, I like it!

     
    • Jorg Janke

      Jorg Janke - 2003-01-14

      Thanks !
      I updated CVS!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks