nifskope icon indicating copy to clipboard operation
nifskope copied to clipboard

Starfield; Fo76utils latest: Unable to copy things between nifs anymore

Open JMPZ11 opened this issue 1 year ago • 2 comments

Before the qt6 update, I was able to copy these things no problem. Now, pasting a BSGeometry. BSLightingShaderProperty or the NiIntergerExtra data under a BSGeometry node does nothing -- and I get errors trying to even copy collision.

image

This is on Windows 11 64-bit, Nifskope commit 9a3c1f7f.

I thought I could still copy geometry, but now it's not letting me copy anything. I have the pre-qt6 build at the ready so not world-ending yet lol

JMPZ11 avatar Sep 17 '24 22:09 JMPZ11

Fixed by this commit, at least for Copy Branch and Duplicate Branch. The spells were broken by this code:

QDataStream ds( &buffer );
ds << blocks.count();

expecting that blocks.count() would return an 'int', but Qt 6 changed that to 'qsizetype', which is a 64-bit type.

As far as I can tell, copying and pasting single blocks did not have the issue, but more testing is definitely needed, as there could well be more similar problems.

fo76utils avatar Sep 18 '24 22:09 fo76utils

Thanks! I'll try to setup both builds in the same msys2 env so I can switch between more quickly.

Is this your preferred method of getting bug reports?

JMPZ11 avatar Sep 29 '24 18:09 JMPZ11

This issue seems to be resolved thanks!

JMPZ11 avatar Jan 13 '25 17:01 JMPZ11