Itseez/opencv — pull request #1331 by berak (2013-08-23 04:54:32+00:00)
Title: bugfix for [#3227](http://code.opencv.org/issues/3227)

changed Scalar(e.alpha) to Scalar::all(e.alpha) in MatOp_Initializer::assign(), so Mat::ones() and Mat::zeros() work as expected with multi-channel Mats