Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2041 / 5574

July 27, 2017, 07:27 (GMT)
Fix Label colors in popups
July 27, 2017, 07:13 (GMT)
Fix: use click style if a pie was spawned by release or click event
July 26, 2017, 21:43 (GMT)
Manipulator: remove names

They weren't used anywhere,
both C & Py manipulators better assign to vars (no lookup needed).
July 26, 2017, 21:31 (GMT)
stub update
July 26, 2017, 21:24 (GMT)
Cleanup: Py3.7x warning
July 26, 2017, 21:24 (GMT)
Cleanup: remove check for old GCC&PPC
July 26, 2017, 21:24 (GMT)
Merge branch 'master' into blender2.8
July 26, 2017, 20:05 (GMT)
Minor template code patch. (objectHitList =/= hitObjectList)

The Blender text editor's built in python template "Gamelogic" has a reference near the bottom to "objectHitList" as an alleged attribute to the KX_TouchSensor. This name is incorrect, it's correct name is "hitObjectList."

Attempting to access the suggested objectHitList returns error...
```
AttributeError: 'KX_TouchSensor' object has no attribute 'objectHitList'
```

The provided diff corrects this minor error.

Reviewers: kupoman, moguri, campbellbarton, Blendify

Reviewed By: Blendify

Tags: #game_engine, #game_python

Differential Revision: https://developer.blender.org/D2748
July 26, 2017, 17:20 (GMT)
Fix crash in recent changes to instancing

Registrable classes already handled their own instancing,
changes to enable instancing everywhere conflicted.
July 26, 2017, 16:03 (GMT)
Last commit broke WITH_PYTHON_SAFETY

Re-enable BPY_id_release call with thats enabled.
July 26, 2017, 15:56 (GMT)
BPY_id_release was a nop, use RNA invalidate directly
July 26, 2017, 14:33 (GMT)
Fix T52186: Crash on bevel

bContext is not always available in transform, so need to use explicit
scene and scene layer to create evaluation context from.
July 26, 2017, 14:33 (GMT)
CLeanup: Use utility function in BKE
July 26, 2017, 14:33 (GMT)
Depsgraph: Add utility function to initialize evaluation context from scene and layer
July 26, 2017, 14:33 (GMT)
Cleanup, line wraps
July 26, 2017, 14:33 (GMT)
Initialize time for evaluation context when creating from bContext
July 26, 2017, 14:23 (GMT)
Fix T52176: Bevel doesn't correctly work with default empty Vgroup.

`defvert_array_find_weight_safe()` was confusing 'invalid vgroup' and
'valid but totally empty vgroup' cases.

Note that this also affected at least ShrinkWrap and SimpleDeform
modifiers.
July 26, 2017, 13:49 (GMT)
PyAPI: Store PyInstances for ID's

This means once an ID is created,
it will keep using the same PyObject instance.

This has some advantages:
- Avoids unnecessary re-creation of instances on UI poll / redraw.
- Accessing free'd ID's gives an exception instead of crashing.
(long standing annoyance!, though this only applies to ID's
and not yet other data that uses the ID's - vertices for eg).
- Allows using instance comparison (a little faster).

Note that the instances won't be kept between undo.
July 26, 2017, 12:55 (GMT)
PyAPI: Fix for instancing (Blender owns a reference)

Also set newly created values to the instance pointer.
July 26, 2017, 10:49 (GMT)
Manipulator: only check for highlight once

Was doing 2x lookups which is OK for click-select
but this runs on mouse-move and can become slow.

May enable this again if highlighting logic changes.

Also scale hotspot by pixelsize.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021