Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1837 / 5574

April 1, 2018, 21:17 (GMT)
imbuf: revert some of the changes of rBb6ba3c682dd6615e760905572a5bcd69bb46371f since they broke the build.
Revision b29ecbf by Sergej Reich
April 1, 2018, 17:50 (GMT)
Fix compiling with Alembic

Still need G.main
April 1, 2018, 17:33 (GMT)
Workaround for undo steps not storing object modes
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, 13:43 (GMT)
Logging: fix own error with formatting
March 31, 2018, 13:33 (GMT)
Use int instead of bool

Causes issues when including in some files.
March 31, 2018, 13:29 (GMT)
Logging: add argument --log-show-basename

Optionally strips leading path from filenames when logging.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021