Pottus / Texture-Studio

86 stars 90 forks source link

Bug while importing a new map with the 3d text #94

Open RaphaelCapone opened 5 years ago

RaphaelCapone commented 5 years ago

Hello, after I imported a new map in my another saved map and grouped all the imported objects then moving them as a group, the 3d text just duplicated and won't dissapear with command /hidetex3d.

Crayder commented 5 years ago

Can you show me what you mean in a video or something? I'm not reproducing this issue.

RaphaelCapone commented 5 years ago

Done: https://youtu.be/qBJScvCeAik

Crayder commented 5 years ago

Hmm... Interesting. This still isn't happening to me. What exactly was your process?

What I did was:

Everything worked exactly as it should. The labels didn't duplicate like in your video, they just moved. Are you sure you are using the latest files and stuff?

RaphaelCapone commented 5 years ago

Yes, I use the last version of TS(1.9d downloaded from the releases page). My process was:

  1. Opened my saved map with /loadmap (who has over 1000 objects)
  2. Import those objects that you see in the video from an .txt file with /importmap
  3. Grouped all imported objects with /gadd (as you see in the video)
  4. Moved the group position with /editgroup
Crayder commented 5 years ago

I tried doing /loadmap first (the only thing we did different I suppose), and it's still not happening to me... I'm not sure what the problem could be?

RaphaelCapone commented 5 years ago

I have no idea, maybe there are created 3d labels by default(when importing new objects with /importmap) who aren't counted as normal labels and then when we try to "control" them with commands like /hidetext3d have no effects. Or maybe the server creates duplicated 3d labels and it could be a bug from the streamer plugin or from the server itself. If I have any other idea what could it be I'll let you know, maybe I'll try to give a look at the code soon and see if I can spot the problem...and if I'll do this I'll make a pull request. Also, I think there could be a problem with the large number of objects that my map contains, maybe it slows the server and would not anymore work as it should.... I don't know

Crayder commented 5 years ago

If it was any of those problems I would be experiencing the issue as well, apart from having a lot of objects (which also shouldn't affect this because the limit is set higher).

RaphaelCapone commented 5 years ago

I really don't know what could it be then... I can make a server and join together to test by yourself this if you want

Crayder commented 5 years ago

Yeah, that'd be helpful if we're ever available at the same time. Let me know when you're available via SA-MP Discord?

RaphaelCapone commented 5 years ago

Of course! My name on discord is Orion90#0132 .Also I joined the samp community's server and sent to you a friend request.