Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2142 / 5574

Revision 4bee5b8 by Luca Rood
April 19, 2017, 14:52 (GMT)
Convert direct usages of base defines

This replaces all direct usage of:
- FIRSTBASE
- LASTBASE
- BASACT
- OBACT

Some usages still remain in legacy utility functions which are called
all over the place.
Revision 2f24207 by Luca Rood
April 19, 2017, 14:52 (GMT)
Remove local view toggle operator
April 19, 2017, 14:52 (GMT)
Cleanup: remove redundant assignments

Return the 'Batch' instead of assigning a variable.
April 19, 2017, 14:38 (GMT)
Draw Manager: curve support

Draws the curve centerline and editmode verts/handles.

Handle theme colors, and normal display still need adding.
April 19, 2017, 14:26 (GMT)
Cleanup: move theme-id to shader-group into funcs
April 19, 2017, 14:16 (GMT)
Fix mistake in previous commit
April 19, 2017, 13:22 (GMT)
Get rid of glMatrixMode calls

With the explicit calls we don't need to worry about current state
outside of the GPU module now. In fact. we don't need to worry about
current matrix mode in core profile at all.

Legacy OpenGL now has some code which ensures current matrix mode
when using explicit calls to push/pop matrix.
April 19, 2017, 13:22 (GMT)
Make UI block drawing closer to master

There is no need to break assumptions of what's being modified
by this call and what's restored. The changes in this function
simply spread crappyness outside of the UI block.
April 19, 2017, 13:22 (GMT)
Fix node editor drawing when built with core profile

There are two major things in this commit.

First one is to have proper stack for projection matrices. This is
something what OpenGL specification grants to have at least 2 elements
for and what is required to have for proper editor drawing without
refactoring the way how we restore projection matrix.

Supporting this stack have following advantages:

- Our GPU stack is closer to OpenGL specs, making it easier to follow
by other developers who are always familiar with OpenGL.

- Makes it easier to port all editors to a new API.

- Should help us getting rid of extra matrix push/pop added in
various commits to 2.8 branch.

The new API follows the following convention:

- gpuPushMatrix/gpuPopMatrix ALWAYS deals with model view matrix
and nothing more.

While this name does not fully indicate that it's only model view
matrix operator, it matches behavior of other matrix operations
such as transform which also doesn't indicate what matrix type
they are operating on.

- Projection matrix has dedicated calls for push/pop which are
gpuPushProjectionMatrix/gpuPopProjectionMatrix.
April 19, 2017, 13:07 (GMT)
Merge branch 'master' into blender2.8

# Conflicts:
# source/blender/alembic/intern/abc_exporter.cc
# source/blender/alembic/intern/abc_exporter.h
April 19, 2017, 12:44 (GMT)
Comment out places which are using texture matrix mode for core profile

There is only two places which are using texture matrix mode:

- Tiled tface support.
- Texture shading mode for texture mapping.

Both cases are subject for reconsideration: it is likely that we'll be getting
rid of tface, which means game properties like tiles needs to be revisited
anyway. As for texture shading it is using basic shader which is also not
supported by core profile anyway.
April 19, 2017, 12:40 (GMT)
Alembic import/export: added as_background_job option

The ABC_export and ABC_import functions both take a as_background_job
parameter, and return a boolean.

When as_background_job=true, returns false immediately after scheduling
a background job. This was the old behaviour of this function, which makes
it very hard for scripts to do something with the data after the import
or export completes.

When as_background_job=false, performs the export synchronously, and
returns true when the export was ok, and false if there were any errors.
This allows further processing.

The Scene.alembic_export() function is deprecated, and will be removed from
Blender 2.8 in favour of calling the bpy.ops.wm.alembic_export() operator.
As such, it has been hard-coded to the old background job behaviour.
April 19, 2017, 12:35 (GMT)
Unittests: Layer render settings evaluation

More failing unittests to add to the existing ones.
April 19, 2017, 12:33 (GMT)
Cleanup, indentation of preprocessor
April 19, 2017, 12:13 (GMT)
Use model view matrix instead of texture matrix for texture brush overlay

It is required for our new matrix stack to only have projection and model view
matrix modes. This commit ports paint cursor overlay to model view matrix.
April 19, 2017, 11:03 (GMT)
Alembic export: made hair/particle export optional.

The export is still slower than needed, as the particle systems themselves
aren't disabled during the export. It's only the writing to the Alembic
file that's skipped.
April 19, 2017, 10:23 (GMT)
Fix wrong RNA update function declarations

This fixes lots of crashes, especially with painting/brush updates.
April 19, 2017, 09:43 (GMT)
Alembic export: converted some export params to actual bools

The variables were interpreted as booleans, and had a 1-bit width. I don't
see a reason to not just use the bool type instead.
April 19, 2017, 09:17 (GMT)
Fix identation
April 19, 2017, 09:09 (GMT)
Edit Mode Engine: Fix shader compilation on AMD. Also fix Bweight display.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021