Fix T68629
A null pointer check added
Details
Details
- Reviewers
Campbell Barton (campbellbarton) - Maniphest Tasks
- T68629: EXCEPTION_ACCESS_VIOLATION when entering Edit Mode
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- mesh-conv-bug (branched from master)
- Build Status
Buildable 6888 Build 6888: arc lint + arc unit
Event Timeline
Comment Actions
- the first some lines in gitignore specify . files. so vscode line is not needed.
- I am not really qualified for being a reviewer.. you should necessarily add someone with commit access. pick people from here: https://wiki.blender.org/wiki/Modules
- reading from @Bastien Montagne (mont29) 's comment
Crash happens in CustomData_to_bmesh_block() while trying to copy a CD_FACEMAP layer which source's CustomDataLayer has a NULL data pointer... I'd say NULL pointer here should never happen? Code is not expecting such thing in any case.
so I think, preventing the src_data from being NULL should be a nicer fix, though take it with a grain of salt. I have no idea of the code here.
(I added reviewers based on past assignees)
Comment Actions
Just a tip: next time you want to ignore files that are specific to your setup, edit .git/info/exclude instead. That file works the same as .gitignore, but isn't part of Blender's sources, so there is no chance that you accidentally share your changes.