Blender Git Loki

Kaikki Blender Git kommitit.

Page: 3396 / 8462

April 1, 2018, 10:45 (GMT)
Fix error after merge
April 1, 2018, 10:25 (GMT)
Merge branch 'blender2.8' into greasepencil-object

Conflicts:
source/blender/editors/gpencil/gpencil_data.c
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/util/undo.c
April 1, 2018, 09:14 (GMT)
Merge branch 'master' into blender2.8
April 1, 2018, 09:03 (GMT)
Merge branch 'master' into blender2.8

- Undo that changes modes currently asserts,
since undo is now screen data.

Most likely we will change how object mode and workspaces work
since it's not practical/maintainable at the moment.

- Removed view_layer from particle settings
(wasn't needed and complicated undo).
April 1, 2018, 08:23 (GMT)
Correct accidental changes by C Logging addition

Error in 891c1cfc9a3
April 1, 2018, 05:41 (GMT)
Resolve unsigned comparison error w/ MSVC
April 1, 2018, 05:24 (GMT)
Cleanup: remove global header
March 31, 2018, 21:51 (GMT)
Cleanup: warning
March 31, 2018, 21:47 (GMT)
Removed by accident in last commit
March 31, 2018, 18:40 (GMT)
Undo: unified undo system w/ linear history

- Use a single undo history for all operations.
- UndoType's are registered and poll the context to check if they
should be used when performing an undo push.
- Mode switching is used to ensure the state is correct before
undo data is restored.
- Some undo types accumulate changes (image & text editing)
others store the state multiple times (with de-duplication).
This is supported by checking UndoStack.mode `ACCUMULATE` / `STORE`.
- Each undo step stores ID datablocks they use with utilities to help
manage restoring correct ID's.
Needed since global undo is now mixed with other modes undo.
- Currently performs each undo step when going up/down history
Previously this wasn't done, making history fail in some cases.
This can be optimized to skip some combinations of undo steps.

grease-pencil is an exception which has not been updated
since it integrates undo into the draw-session.

See D3113
March 31, 2018, 18:33 (GMT)
BLF: Remove debug print

"this is not the commit you're looking for"
March 31, 2018, 18:26 (GMT)
BLF: Fix Vertical/Horizontal layout switch.

This was breaking the first drawcall after a simple/non-simple shader
switch.
March 31, 2018, 17:43 (GMT)
UI: Perf: Batch icons drawcalls together.

For this we use a new shader that gets it's data from a uniform array.
Vertex shader position the vertices using these data.

Using glUniform is way faster than using imm for that matter.

Like BLF rendering, UI icons are always (as far as I know) non occluded and
displayed above everything else. They also does not overlap with texts so
they can be batched at the same time.
March 31, 2018, 17:32 (GMT)
BLF: Perf: Do not call FT_Set_Char_Size every time.

Using FT_Set_Char_Size is slow. Calling it only when needed is more clever.
March 31, 2018, 17:32 (GMT)
BLF: Perf: Add a kerning cache table for ascii chars.

This adds less than a megabyte of mem usage.
FT_Get_Kerning was the 2nd hotspot when profilling. This commit completly
remove this cost.

One concern though: I don't know if the kerning data is constant for every
sizes but it seems to be the case. I tested different fonts at different
dpi scalling and saw no differences.
March 31, 2018, 17:25 (GMT)
BLI_sort_utils: add pointer sorting callback

Also rename Pointer -> Ptr
March 31, 2018, 16:56 (GMT)
Fix color names for monkey

The colors were missing after save and load again.
March 31, 2018, 16:55 (GMT)
Cleanup: Move all Shader creation to engine_init
March 31, 2018, 15:54 (GMT)
updated adaptive time stepping

moved adaptive stepping loop out of manta simulation (python) and into big step (update flows + update obstacles + manta simulation) (blender c)
March 31, 2018, 14:13 (GMT)
Merge branch 'master' into soc-2017-normal-tools
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021