`grease_pencil_edit_batch_ensure` will not create a valid batch when there's no visible edit geometries (e.g. Current frame is before any of the GPv3 key frames), this would lead to GPv3 passes drawing an empty batch. This fix prevent empty edit batch from being put in the pass drawing command list. Pull Request: https://projects.blender.org/blender/blender/pulls/130493