Skip to content

Commit

Permalink
Fixed crash in 3ds max, issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarn committed Dec 19, 2018
1 parent d7f4138 commit a5ec278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/vray3dsMax/3dsMax/3dsMaxThunderLoom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ INT_PTR YarnTypeDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)

#define GET_YARN_TYPE\
YarnTypeDlgProcData *data = (YarnTypeDlgProcData*)\
GetWindowLong(hWnd,GWLP_USERDATA);\
GetWindowLongPtr(hWnd,GWLP_USERDATA);\
tlYarnType * yarn_type = &data->sm->m_weave_parameters->yarn_types[\
data->yarn_type];
//NOTE(Vidar): Hack to update the preview ball
Expand Down

0 comments on commit a5ec278

Please sign in to comment.