Commit: 6eecbca309ebe7c564758d68cd1b71277de8ba0c
Author: Antonio Vazquez
Date: Tue Apr 11 11:49:02 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rB6eecbca309ebe7c564758d68cd1b71277de8ba0c
Disable again drawing
The functions aren't ready yet
===================================================================
M source/blender/draw/engines/gpencil/gpencil_mode.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_mode.c
b/source/blender/draw/engines/gpencil/gpencil_mode.c
index 6e5a5646302..fa78db98790 100644
--- a/source/blender/draw/engines/gpencil/gpencil_mode.c
+++ b/source/blender/draw/engines/gpencil/gpencil_mode.c
@@ -259,12 +259,12 @@ static void GPENCIL_cache_populate(void *vedata, Object
*ob)
struct Batch *fill_geom =
DRW_cache_surface_get(ob); // TODO: replace with real funct
/* Add fill geom to a shading group */
DRW_shgroup_call_add(fillgrp, fill_geom,
ob->obmat);
-#endif
/* stroke */
struct Batch *stroke_geom =
DRW_cache_surface_get(ob); // TODO: replace with real funct
/* Add stroke geom to a shading group */
DRW_shgroup_call_add(strokegrp, stroke_geom,
ob->obmat);
+#endif
}
}
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs