Blender Git Loki

Kaikki Blender Git kommitit.

Page: 6520 / 8462

Revision d6deca4 by kanttori (master)
February 19, 2012, 17:55 (GMT)
Fix #30230, Crash after importing collada file

On collada import a -1 layer_index from CustomData_get_layer_index (CD_MTFACE) was used.
This then managed to overwrite last mface's data with uv-set's name so at least it gave a clue where to look for :]

February 19, 2012, 17:44 (GMT)
fix for bug where particle system would fail when the original mesh had no tessface's
February 19, 2012, 17:11 (GMT)
sync some changes with trunk and rename bmeshutils.c
February 19, 2012, 16:54 (GMT)
rebane files to match trunk.
February 19, 2012, 11:09 (GMT)
More pose armature code factorization:
* New armature_mat_bone_to_pose, which is just the reverse of armature_mat_pose_to_bone (currently used by armature evaluation code only, but might be used by constraints space conversion code too, see note below).
* Found another place where another (a bit erroneous) pose_to_bone code existed (apply_targetless_ik(), in transform_conversion.c, used by "auto ik" option), replaced it by a call to armature_mat_pose_to_bone.

Notes:
* All those changes leave many #if 0 commented code, I will remove those in a few weeks.
* There is at least one other place where generic armature_mat_(pose_to_bone/bone_to_pose) functions should be usable: the space conversion function of constraints (constraint_mat_convertspace(), in BKE's constraint.c), but here I have some problems (old code is also somewhat erroneous, but using new one makes old rigs using bone space constraints wrong, e.g. sintel one, and itâ??s just impossible to make conversion code...). So I'll wait and investigate more for this one.
February 19, 2012, 08:09 (GMT)
Reload movie clip to ensure all cache and prefetched Ffmpeg frames are properly
updating after proxy building is finished.
February 19, 2012, 08:02 (GMT)
Proxies: FFmpeg proxy builder wasn't taking image quality into account at all
which made it using default quality settings which are really bad for camera
tracking (and perhaps for CSE too).

haven't found Jpeg quality setting for FFmpeg which will behave in the same way
as quality setting for image sequence, but seems that mapping image quality
from 1..100 UI range to 31..1 range of qmin/qmax gives expected result.

--
svn merge -r44228:44230 ^/branches/soc-2011-tomato

February 19, 2012, 06:00 (GMT)
style cleanyp: split > 120 width lines.
February 19, 2012, 05:17 (GMT)
fix for incorrect check to find largest axis (was checking Y twice, not Z).
February 19, 2012, 05:11 (GMT)
replace MIN2 / MAX2 with minf / maxf to avoid calling functions multiple times.
February 19, 2012, 04:13 (GMT)
fix for issue with bevel when the 2 edges form a straight line. this isnt really fixing the bigger problems but the error did show up baddly as an artifact.
February 19, 2012, 03:19 (GMT)
svn merge ^/trunk/blender -r44213:44235 --- fixes bmesh shading bug [#30125]
February 19, 2012, 03:10 (GMT)
Change texface draw to always use glShadeModel(GL_SMOOTH), with texface draw.

without this each face would get a solid color, this is the same method used in object mode.

also copy BLI_array.h fix from bmesh branch.
February 19, 2012, 02:54 (GMT)
skip per face texface poly lookup while drawing when the layer isnt found.

also remove some unused code.
February 19, 2012, 01:52 (GMT)
left print in by mistake
February 19, 2012, 01:51 (GMT)
edit-derived-mesh had a table for vert/edge/face lookups - that were never used.

removed these and replaced them with calls to BM_vert_at_index, BM_edge_at_index - which are not ideal but same as trunk does.
Revision f75bf20 by kanttori (master)
February 18, 2012, 16:55 (GMT)
Fix rest of #27022, collada export: add bone parenting of objects

- SceneExporter collects a list of child-objects for armature-object and passes it onto ArmatureExporter
- SceneExporter's writeNodes is then called from ArmatureExporter for matching child-objects for bone.
- ArmatureExporter removes written child-objects from list, objects not exported as being bone parented are exported as direct children of the armature-node.
- Should play nice with current Second Life-compatibility.

A nicer implementation would require some design changes, will have to wait.

February 18, 2012, 16:42 (GMT)
Wring scaling and precision error in previous commit.
February 18, 2012, 16:23 (GMT)
Proxies: FFmpeg proxy builder wasn't taking image quality into account at all
which made it using default quality settings which are really bad for camera
tracking (and perhaps for CSE too).

haven't found Jpeg quality setting for FFmpeg which will behave in the same way
as quality setting for image sequence, but seems that mapping image quality
from 1..100 UI range to 31..1 range of qmin/qmax gives expected result.
Revision 7beddb7 by kanttori (master)
February 18, 2012, 16:20 (GMT)
Collada export: changes to joints/weights in skincontroller

- Collecting joints/weights in one place, it's easier to exclude zero weights or vertexgroups with no matching bone than trying to match same logic in multiple places.
- Still not exporting -1 joints for vertices without weights, but also not outputting -1 joint + weight for each vertexgroup without a matching bone.
- The exported weights are now normalized.

Last I tested this patch stopped 3ds Max crashing on import of file from #29465 (opencollada / internal .dae).

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