Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2147 / 5574

Revision 16f08b0 by Mike Erwin
April 15, 2017, 17:06 (GMT)
Gawain: rename AttribBinding clear for consistency

AttribBinding is only used internally by Gawain.

Part of T51219
Revision b92b250 by Julian Eisel
April 15, 2017, 13:58 (GMT)
Fix missing manipulator update after undo

Steps to recreate the error were:
* Enter edit mode
* Change Vertex positions
* Undo -> Manipulator position isn't updated
April 15, 2017, 07:52 (GMT)
Cleanup: lattice drawing had mesh include & names
April 15, 2017, 07:51 (GMT)
Cleanup: GPU header guards
April 15, 2017, 07:45 (GMT)
GPU matrix: add back type checks

Without this gpuGet functions would cast everything
(no type or size checks and override const variables).
April 15, 2017, 07:17 (GMT)
Remove redundant declaration
April 15, 2017, 06:55 (GMT)
Fix T51149: Joining curves allows 2D curves in 3D
April 15, 2017, 05:31 (GMT)
Object.raycast: error in previous commit

This is taking longer than I expected.
Revision 4b04399 by Mike Erwin
April 15, 2017, 05:29 (GMT)
GPU Matrix API: clean up after 2D-3D unification

See GPU_matrix.h & gpu_matrix.c for the important changes. Other files are mostly just updated to use the latest API.

- remove unused functions, defines, enums, comments
- remove "3D" from function names
- init to Identity transform (otherwise empty stack)
- gpuMatrixReset lets outside code return to initial state

Part of T49450
Follow up to D2626 and 49fc9cff3b90
April 15, 2017, 05:24 (GMT)
Fix: Object.raycast: error to free treedata
April 15, 2017, 04:31 (GMT)
Object.raycast: Also test distance from BoundBox

If `isect_ray_aabb_v3_simple` provides this information, why not take advantage of it?
April 15, 2017, 04:24 (GMT)
Cleanup: Use doxy-groups for draw-cache
April 15, 2017, 04:07 (GMT)
Cleanup: explicit names for return arguments and position last
April 15, 2017, 03:44 (GMT)
Object.raycast: Test the hit on the BoundBox first

This avoids the unnecessary creation of bvhtree, which can be highly inefficient in some cases
(for example: in the `operator_modal_view3d_raycast.py` template)
April 14, 2017, 23:09 (GMT)
Fix Player stubs (tm)
April 14, 2017, 22:43 (GMT)
Fix T51216: SSAO attenuation not being scale invariant.

Unfortunately this does break compatibility in that the viewport will look a
bit different depending on the settings, but the old behavior was simply not
usable for higher distances.
April 14, 2017, 16:20 (GMT)
Alembic import: fixed dupligroup export when the dupli-empty has a parent
April 14, 2017, 16:20 (GMT)
Alembic export: fixed flattened dupligroup import
April 14, 2017, 16:07 (GMT)
GPU Matrix API: Remove ModelView/Projection 3D suffix
April 14, 2017, 16:07 (GMT)
GPU Matrix API refactor: Stick to a single 4x4 stack for 2D and 3D

* Brings us closer to core profile, all matrices are working, and apart
from a problem with text drawing, Blender is working fine.

* Reduce the coding overhead of having to setup/teardown when
alternating between 2D and 3D drawing sessions.

* Gives us fewer modes and states we need to keep track of.

Unfortunatelly this also "rejects a fundamental change" the original
design was trying to make - that 2D is different from 3D and
deserves its own best implementation.

That said, it is still aligned with the function API design as
originally implemented (i.e., it still uses gpuTranslate2D, ...).

Finally, if you build with core profile and this patch you get:
https://developer.blender.org/F545352

[The text glitch is an unrelated issue].

Reviewers: merwin, sergey, brecht

Differential Revision: https://developer.blender.org/D2626
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021