Skip to content

windower.prim.set_size weird behaviour under windower.prim.set_fit_to_texture set to true #1812

Open

Description

@Onionknight101

windower.prim.set_size will not set the size sometimes,when windower.prim.set_fit_to_texture is set to true and a texture is loaded.

Tested this with a simple prim thats created, has its size set, its color set and then the texture loaded. set_fit_to_texture seems to be true by default. When i set this to false the set_size is always changing the prim size correctly. My guess is a memory issue, since when i force it by reloading the test lua back to back the set_size flatout refuses to change the size. No error is given.

I have posted my findings and a test in the discord group in the windower 4 bug reports channel. A simple test and example images of a test of a pink square back ground with an image of a W and an image of an a next to it are included.

textprim.zip
test1
test2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions