Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2341 / 5574

June 15, 2016, 17:43 (GMT)
Fix error splitting convex faces

Created double faces, leaked memory.
June 15, 2016, 11:45 (GMT)
Fix T48654: outline text visible while renaming

Both button and rename text would draw while renaming,
caused issues with some themes.
June 15, 2016, 07:41 (GMT)
Merge branch 'master' into blender2.8
June 15, 2016, 07:29 (GMT)
Merge branch 'master' into blender2.8
June 14, 2016, 21:03 (GMT)
Fix region_2d_to_origin_3d not working with ortho view

In some cases when:
* the viewport was in the camera mode
* the camera was ortho
* the view was not fitting (as oppose to use HOME)

region_2d_to_origin_3d would misbehave (and consequently region_2d_to_location_3d).

Sample addon to test it:
```
import bpy

from bpy_extras.view3d_utils import (
region_2d_to_location_3d,
)

from mathutils import (
Vector,
)

class MoveXYOperator(bpy.types.Operator):
"""Translate the view using mouse events"""
bl_idname = "view3d.move_xy"
bl_label = "Move XY"

@classmethod
def poll(cls, context):
return context.object

def modal(self, context, event):
if event.type == 'MOUSEMOVE':
self.move(context, event)

elif event.type in {'LEFTMOUSE', 'RIGHTMOUSE', 'ESC'}:
return {'FINISHED'}

return {'RUNNING_MODAL'}

def invoke(self, context, event):
if context.space_data.type == 'VIEW_3D':
self.ob = context.object
context.window_manager.modal_handler_add(self)
return {'RUNNING_MODAL'}
else:
self.report({'WARNING'}, "Active space must be a View3d")
return {'CANCELLED'}

def move(self, context, event):
xy = region_2d_to_location_3d(
context.region,
context.space_data.region_3d,
(event.mouse_region_x, event.mouse_region_y),
Vector(),
).xy

self.ob.location.xy = xy

def register():
bpy.utils.register_class(MoveXYOperator)

def unregister():
bpy.utils.unregister_class(MoveXYOperator)

if __name__ == "__main__":
register()
```
June 14, 2016, 18:28 (GMT)
Text Editor: auto-complete removed entire word on undo
June 14, 2016, 18:05 (GMT)
Correct update issue caused by recent commit

VSE effects within a meta-strip could fail to update on cancel.
June 14, 2016, 18:05 (GMT)
VSE: minor drawing glitch with meta's

Meta contents could obscure meta selection outline, draw after.
June 14, 2016, 16:44 (GMT)
Fix VSE updating effects within metas

Missing update caused internal lengths to be wrong.
June 14, 2016, 14:46 (GMT)
Cleanup: Remove outdated comment, visibility layers in kernel have been removed.
June 14, 2016, 14:30 (GMT)
FileSpace cleanup: make ED_path_extension_type public.

Maybe we should move it to BLI, but not sure how, and where (and its defines
are SpaceFile's ones, meh :| ).
June 14, 2016, 13:03 (GMT)
Write .blend file: refactor & fixes re ID block itself.

Factorized writing of ID block's data (so far, only IDProps) into own helper func.
This also fixes missing IDProp (aka custom data) saving from GreasePencil and Library
datablocks (and add comment about why we do not save WM IDProps).

Finaly, it ensures all ID-related data are written immediately after the ID itself
(was not the case for all data types previously, some were writting their own data
before IDProps). This is not a fix (.blend file format does not enforce any order
on sub-data of datablocks, they only have to be after datablock struct itself in file),
but makes things more consistent.
June 14, 2016, 11:55 (GMT)
Correct sequencer transform check

Check to avoid operating on same strip multiple times wasn't working.

Harmless but better make it functional.
June 14, 2016, 11:55 (GMT)
Fix T48649: VSE meta-strip overlap shuffles recursively
Revision a479374 by Gaia Clary
June 14, 2016, 11:09 (GMT)
fix T48602: Changed The Collada validator to treat faces with < 3 verts as Warning and let the Mesh Validator take care of the cleanup
June 14, 2016, 09:31 (GMT)
Fix T48613: Bump mapping in cycles is not shown on the viewport when the material use node groups
June 14, 2016, 07:12 (GMT)
Fix T48154: Decimate topology changes with scale

This can't be avoided completely, however the threshold used can be much lower.
June 13, 2016, 22:16 (GMT)
Usual UI/i18n message fixes.
Revision 9c60043 by Phil Gosch
June 13, 2016, 16:35 (GMT)
Made incremental snapping intervalls smaller for UV editor

Before the intervall was set to 0.125 which effectively resulted in 8 positions across the UV space (per axis).
I halved that value, holding shift enables an even finer movement.

This change was ported over from my soc-2016-uv_tools branch after talking with howardt, ideasman42 and hackerman-
June 13, 2016, 16:27 (GMT)
Curve Fitting: add high-quality flag

When this flag is set - even when the curve error is under the threshold,
keep attempting a better fit.

Enable this for freehand drawing, since it gives nicer results and isn't noticeably slower.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021