Skip to content

Commit

Permalink
Add comments warning about breaking compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dictoon committed Mar 5, 2017
1 parent 536800d commit d84d245
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/appleseed-max-impl/disneymtl/appleseeddisneymtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ namespace

enum ParamId
{
// Changing the order of these parameters WILL break compatibility.
ParamIdBaseColor,
ParamIdBaseColorTexmap,
ParamIdMetallic,
Expand Down
5 changes: 5 additions & 0 deletions src/appleseed-max-impl/disneymtl/datachunks.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
// appleseed.foundation headers.
#include "foundation/platform/windows.h"

//
// Changing the values of these constants WILL break compatibility
// with 3ds Max files saved with older versions of the plugin.
//

const USHORT ChunkFileFormatVersion = 0x0001;

const USHORT ChunkMtlBase = 0x1000;
1 change: 1 addition & 0 deletions src/appleseed-max-impl/glassmtl/appleseedglassmtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ namespace

enum ParamId
{
// Changing the order of these parameters WILL break compatibility.
ParamIdSurfaceColor,
ParamIdSurfaceColorTexmap,
ParamIdReflectionTint,
Expand Down
5 changes: 5 additions & 0 deletions src/appleseed-max-impl/glassmtl/datachunks.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
// appleseed.foundation headers.
#include "foundation/platform/windows.h"

//
// Changing the values of these constants WILL break compatibility
// with 3ds Max files saved with older versions of the plugin.
//

const USHORT ChunkFileFormatVersion = 0x0001;

const USHORT ChunkMtlBase = 0x1000;
1 change: 1 addition & 0 deletions src/appleseed-max-impl/lightmtl/appleseedlightmtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ namespace

enum ParamId
{
// Changing the order of these parameters WILL break compatibility.
ParamIdLightColor,
ParamIdLightColorTexmap,
ParamIdLightPower,
Expand Down
5 changes: 5 additions & 0 deletions src/appleseed-max-impl/lightmtl/datachunks.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
// appleseed.foundation headers.
#include "foundation/platform/windows.h"

//
// Changing the values of these constants WILL break compatibility
// with 3ds Max files saved with older versions of the plugin.
//

const USHORT ChunkFileFormatVersion = 0x0001;

const USHORT ChunkMtlBase = 0x1000;
1 change: 1 addition & 0 deletions src/appleseed-max-impl/sssmtl/appleseedsssmtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ namespace

enum ParamId
{
// Changing the order of these parameters WILL break compatibility.
ParamIdSSSColor,
ParamIdSSSColorTexmap,
ParamIdSSSScatteringColor,
Expand Down
5 changes: 5 additions & 0 deletions src/appleseed-max-impl/sssmtl/datachunks.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
// appleseed.foundation headers.
#include "foundation/platform/windows.h"

//
// Changing the values of these constants WILL break compatibility
// with 3ds Max files saved with older versions of the plugin.
//

const USHORT ChunkFileFormatVersion = 0x0001;

const USHORT ChunkMtlBase = 0x1000;

0 comments on commit d84d245

Please sign in to comment.