Blender Git Commits

Blender Git "soc-2019-npr" branch commits.

Page: 139 / 226

February 9, 2018, 06:32 (GMT)
More compile Fixes for object->mode refactor

TODO: I've come across some rather fishy-looking code in a few places
that will need more careful review later

* gpencil-select.c - 1181
* object_edit.c - 1596
* view3d_select.c - 1626
* undo.c - 230
February 8, 2018, 15:31 (GMT)
Cleanup: Rename variables
February 8, 2018, 15:08 (GMT)
WIP: Initial commit to use zdepth render data

Still not tested (branch is broken), but this commit is to keep log of the changes.
February 8, 2018, 14:25 (GMT)
Compile Fix: ob->mode lookups
February 8, 2018, 14:17 (GMT)
Compile Fix: Fixes for the mode toggle operators

* Changed ob->mode / ob->restore_mode to
workspace->object_mode_restore / workspace->object_mode

* BKE_workspace_object_mode_set() got removed.
From the changes in rna_wm.c in (345c6298e995ea618c34282ba6d7ab5af032f191)
it looks like this is all we still need to do now.
However, this will need to be reviewed more carefully later.
For now, this will do!
February 8, 2018, 11:20 (GMT)
Compile Fix: Use proper flag for tagging temporary datablocks created for drawing only
February 8, 2018, 10:47 (GMT)
Merge branch 'blender2.8' into greasepencil-object
February 8, 2018, 10:43 (GMT)
WIP: Temporary hack to get something showing up when using GP in 2D editors for annotations

Temporary restoration of init_palettes() for the non-2D case. Ultimately,
this will not remain, but we need to retain support for this until the
drawing code is sorted out.
February 8, 2018, 10:07 (GMT)
Fix render pixel size

The calculation must be equal to the viewport, because using the camera pixel size, the result is not correct.
February 8, 2018, 03:16 (GMT)
Merge branch 'blender2.8' into greasepencil-object

Conflicts:
source/blender/editors/space_outliner/outliner_draw.c
February 8, 2018, 03:13 (GMT)
Fix: Data-Blocks view in Outliner no longer displayed property values, making it semi-useless

Partially revert efe1af3d11a930b539718cc566049f07316427ff

The offending commit over-zealously removed the datablocks viewer case
as well, when only the condition needed to be modified.
February 8, 2018, 03:09 (GMT)
Cleanup - Use builtin function for clarity
February 8, 2018, 02:46 (GMT)
Fix crashes trying to draw GP strokes in 2D editors

Currently nothing appears when you try to draw still, but at least it
won't crash.
February 8, 2018, 01:54 (GMT)
Cleanup

* Reduce number of extra/excess layout.row() elements with a single item
* Simplify logic (redundant check)
February 7, 2018, 18:41 (GMT)
Try to fix pixsize in render mode

Still the pixsize is not working becaus ethe values are not valid.
February 7, 2018, 17:18 (GMT)
WIP: More work on render

Now get a result, but still the stroke is missing and replace any other render image.
February 7, 2018, 15:58 (GMT)
WIP: Initial steps to define render to image functions

This commit is to put in place all components of the render, but still not working and only enabled in debug mode.
February 7, 2018, 15:32 (GMT)
Calculate zdepth relative to camera plane if rv3d is null

If the viewport is not available, RegionView3D is null, so to calculate the z-depth must use the camera plane.

This is a preliminary step to integrate render (F12)
February 7, 2018, 13:12 (GMT)
Disable grease pencil paper in render mode

This is a preliminary step to integrate render (F12)
February 7, 2018, 10:07 (GMT)
Merge branch 'blender2.8' into greasepencil-object
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021