Blender Git Commits

Blender Git "greasepencil-object" branch commits.

Page: 330 / 345

May 8, 2017, 18:41 (GMT)
Fix missing textures when reload

The texture is not saved in texturelist and is passed directly to shader
May 8, 2017, 12:55 (GMT)
More warnings cleanup
May 8, 2017, 12:54 (GMT)
Fixing gpencil screen drawing after warning cleanup

I find strange that this needs to be static, and can see this being an issue
for simultaneous drawing in the future. That said, better leave it
working as before.
May 8, 2017, 12:46 (GMT)
Fix blenderplayer build
May 8, 2017, 12:37 (GMT)
Fix build warnings

* gcc complain if you have a "main" variable
* Missing header include in gpencil_draw.w
* A few shadowed variables (we should avoid common names in (#define) macros)
* Clear ambiguity in (!flag & VALUE) -> ((flag & VALUE) == 0)
May 8, 2017, 10:57 (GMT)
Cleaunp code
May 8, 2017, 10:53 (GMT)
Fix memory leak and access violation

The builtin shaders are free in blender close, so the engine must not free them. The memory leak was relatred to recreate the shaders again and again, so the free only use the last copy.
May 8, 2017, 10:03 (GMT)
Merge branch 'blender2.8' into greasepencil-object
May 6, 2017, 18:27 (GMT)
Some missing free memory for shaders
May 6, 2017, 16:34 (GMT)
Merge branch 'blender2.8' into greasepencil-object
May 5, 2017, 18:15 (GMT)
Merge branch 'blender2.8' into greasepencil-object
May 5, 2017, 14:29 (GMT)
Check zdepth to avoid strokes in back of camera

Do not draw if the stroke ison back of the point of view.
May 5, 2017, 11:20 (GMT)
Cleanup: Remove unused variables
May 5, 2017, 10:15 (GMT)
Merge branch 'blender2.8' into greasepencil-object
May 4, 2017, 18:23 (GMT)
Merge branch 'blender2.8' into greasepencil-object
May 3, 2017, 14:45 (GMT)
Cleanup: make code more compact
May 3, 2017, 14:41 (GMT)
Increase thickness limit parameter
May 3, 2017, 14:31 (GMT)
WIP: new method to calculate scale of the stroke thickness

The previous scale method was not valid because only was affected by viewport, but not by GP object or Stroke location. Now, the pixel size is calculated depending of zdepth and used to scale the stroke thickness.

Maybe there are other ways to do it, but this approach works, so we keep it before finding better methods
May 2, 2017, 20:25 (GMT)
Merge branch 'blender2.8' into greasepencil-object
May 2, 2017, 20:09 (GMT)
Cleanup: Move scale code to function
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021