fix for crash on load if the file was saved in editmesh,

BKE_mesh_uv_cdlayer_rename_index was checking editmesh pointer before it was NULL'd by direct_link_mesh.
This commit is contained in:
Campbell Barton
2013-10-07 16:48:26 +00:00
parent 098207e634
commit 6aedad4bff
2 changed files with 7 additions and 7 deletions

View File

@@ -372,7 +372,7 @@ if(APPLE)
endif()
if(NOT CMAKE_OSX_DEPLOYMENT_TARGET)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING "" FORCE) # 10.5 is our min. target, if you use higher sdk, weak linking happens
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING "" FORCE) # 10.5 is our min. target, if you use higher sdk, weak linking happens
endif()
if(NOT ${CMAKE_GENERATOR} MATCHES "Xcode")