Blender Git Commit Log

Git Commits -> Revision 936a38c

Revision 936a38c by Campbell Barton (master)
February 5, 2013, 02:28 (GMT)
fix for valgrind warning - using uninitialized variable. Though in practice it didn't cause any problems.

Getting the 'CTX_data_main' while un-fullscreen'ing a space would do a context lookup into the view3d_context which had an uninitialized layer.
since view3d_context doesn't hold a 'main' member it never did anything but cleaner not to do context lookups while modifying the view.
- noticed while checking on a real bug :)

Commit Details:

Full Hash: 936a38c607de098e3b09c5c00337130ebdd47b44
SVN Revision: 54311
Parent Commit: e9ef8d6
Lines Changed: +3, -2

1 Modified Path:

/source/blender/editors/screen/screen_edit.c (+3, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021