Page 1 of 1

copy/paste bug in material editor

Posted: Thu Aug 30, 2012 6:39 pm
by rickyinmotion
When you paste a path for a texture in a channel (ref 0 for example), all the other channels inherit of the path :?

Re: copy/paste bug in material editor

Posted: Thu Aug 30, 2012 6:57 pm
by JDHill
Hmm, I see what you mean. This is due to the modifier shortcut for modifying multiple textures: holding down CTRL. I will check if there is some way I can differentiate between a pasting event and otherwise, but regardless, the workaround is to paste by using right click > Paste, rather than CTRL+V.

Re: copy/paste bug in material editor

Posted: Thu Aug 30, 2012 8:34 pm
by rickyinmotion
thanks for your tips

Re: copy/paste bug in material editor

Posted: Thu Aug 30, 2012 9:10 pm
by JDHill
I confirm that it will work fine with CTRL+V in the future.

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 4:28 pm
by mashium123
seems to be back in 2723

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 4:49 pm
by JDHill
Sorry, but I'm not able to observe a problem here. Not sure what could cause it to fail -- do you use a US english keyboard?

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 5:24 pm
by mashium123
no, it's a german layout.
i managed to find a repeatable procedure:
it's the "/" (on my layout it's shift-7).
create new mat, open a texture box and just click shift-7 (which is not being printed in the line) and click close.
it is not reproducable in the global bump texture box, though.

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 5:39 pm
by JDHill
I see -- that is a different thing. If you are holding SHIFT down, whatever change you make is going to be applied to every texture, in every BSDF/Coating, in the current Layer; that is why the behavior is different with global bump. If you are holding ALT, it will apply to the whole material. If you are holding CTRL, and V is not pressed (that is the only factor being discussed in this thread), the change will apply to the current BSDF/Coating/etc.

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 5:47 pm
by mashium123
ok, i see.
so, manually typing anything, that would include the shift-key, is tabu then...

EDIT:
it's not a bug - it's a feature!
:D

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 6:00 pm
by JDHill
Pretty much, yeah, you'll just have to deal with that. In the specific case of CTRL+V, it is clear what you're trying to do, so I can treat it specially. In other cases, though, the only realistic alternative would be to make the text box read-only. So it would either be that, or remove the ability to change multiple textures at once by holding down modifier keys.

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 6:05 pm
by mashium123
would it be possible to use a combination of keys as a modifier instead of shift, for example ctrl+alt?

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 6:28 pm
by JDHill
That should be possible...so change it to be something like:
  • ALT: change all textures in the current BSDF/etc
    CTRL: change all textures in the current parent Layer
    CTRL+ALT: change all textures in the parent material
Or, something different?

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 6:40 pm
by mashium123
shift could be used quite frequently, while typing stuff manually.
those new combinations look good in terms of not-otherwise-used in the context of the material-editor, so, yes, i'm all for it.

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 7:19 pm
by JDHill
Those combinations appear to work fine, just check it again in the next build.

Re: copy/paste bug in material editor

Posted: Fri Nov 09, 2012 7:44 pm
by mashium123
will do.