Game Development Community

RESOLVED GUI copy/paste x2

by Steve Acaster · in Torque 3D Professional · 02/17/2010 (1:10 am) · 6 replies

Hardly a biggy but ... when copy/pasting an element of a GUI it creates 2 copies instead of 1.

eg:
1. copy "huditem"
2. paste
3. get 2 copies and now have:
huditem
huditem1
huditem2

EDIT: Doesn't happen all the time, but occurs more often than it does not ...

APPEARS FIXED IN 1.1B2

#1
02/18/2010 (4:42 am)

Can't reproduce this but will definitely look into this. Sven reported this, too, so it's definitely something going on there.

Only tried it on the Mac so far and not being able to reproduce, I wonder if the Windows clipboard interfacing is buggy.
#2
02/18/2010 (5:23 am)
Ill be trying to reproduce this while working in the editor today.
#3
02/18/2010 (2:54 pm)

Hmm, still can't reproduce. Tried this for Windows for a while and on a pure and clean beta build but no luck.

If the duplication happens, is it displaying a wrong selection count in the status bar?
#4
02/18/2010 (3:39 pm)
Using my clean stock Empty Project build:

Took a few goes for it to happen, and I did go back to PlayGame and then F10 again.

It only selects the 2nd of the 2 copies it pastes, so selection count is 1.

-----------------

Also, I noticed that creating a button from Library created 2 of them rather than one (hadn't tested that before)

------------
EDIT
Okay, after some testing, from startup the library spawns 2 copies - no extra fiddling required, but the copy/paste duplicate seems to only happen after you go back to the game and then re-F10 to bring the GUI editor up again.
#5
02/18/2010 (4:36 pm)

Thanks for all the testing Steve.

Still no luck here. Tried empty project and the steps you describe, but nothing.

This one's a b...

Will continue looking into this tomorrow.
#6
02/22/2010 (7:12 am)

THREED-887.