[Bf-committers] Blender with 64bit blendfile

Sergey Sharybin sergey.vfx at gmail.com
Thu Feb 2 14:56:26 CET 2017


HI,

size_t type is platform-specific and needs special handling in SDNA code.
So you can't just put it to DNA and hope it works.

What you should be doing instead is to use platform-independent 64 bit type
which is int64_t/uint64_t and which is already supported for ages.

On Thu, Feb 2, 2017 at 2:41 PM, Jaros Milan <milan.jaros at vsb.cz> wrote:

> Hello,
>
>
> I have an idea for 2.8 version: Make blendfile fully 64bit. I am trying
> BHead struct to make 64bit(int len-> size_t len). There is read/write
> functions, which switch between int and size_t. It is very hard to change
> for example "decode BHead" function for backward compatibility with older
> version of blendfile.
>
>
> I cannot save a big data now.
>
>
> What do you think?
>
>
> Thank you.
>
> Milan
>
>
>
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
With best regards, Sergey Sharybin


More information about the Bf-committers mailing list