Gaia Clary
90eec89125
Collada: renamed size_mat to scale_mat for clarity. removed obsolete variable definition
2013-07-30 07:32:37 +00:00
Gaia Clary
8140f56575
Collada: unit converter was not initialized for ArmatureImporter
2013-07-30 07:22:40 +00:00
Gaia Clary
a5cc8f2c92
Collada: Optimize Scale to scene. Only need to scale the root objects of a hierarchy
2013-07-29 22:15:04 +00:00
Gaia Clary
1a3a252e06
Collada: Import now always rotates input to match blender's Z_UP axis
2013-07-29 21:51:53 +00:00
Gaia Clary
c8958eea29
Added Scene scale calculator to UnitConverter for future usage (wip)
2013-07-29 21:22:59 +00:00
Gaia Clary
966b301546
Added/changed comment for clarification
2013-07-29 17:27:27 +00:00
Gaia Clary
91fc92794c
Import of single bones used infinite bone size
2013-07-26 22:19:46 +00:00
Campbell Barton
824ec5a388
code cleanup: case & brace placement
2013-07-19 10:40:43 +00:00
Gaia Clary
1d4bd90c84
Avoid creating Morph Controllers when shape key export is disabled
2013-07-18 07:54:19 +00:00
Gaia Clary
89f4445b44
Leaf bone length calculation used wrong bone tail
2013-07-17 21:06:27 +00:00
Gaia Clary
f2db6949c2
Fix : #36184 Collada import/export... leaf bone size was not set as needed.
2013-07-17 20:22:08 +00:00
Gaia Clary
61cb92f701
fix : #36122 Collada import - Keyframes offset after recording and playing
2013-07-15 11:01:23 +00:00
Gaia Clary
bd863ce58d
Collada miport: Report 'unknown animation class' only when relevant
2013-07-15 10:50:04 +00:00
Gaia Clary
e353593b30
fix : #36060 Collada Import: animated armature+mesh problem
2013-07-14 17:21:12 +00:00
Gaia Clary
4507dd9a7e
Removed unused paramter from ArmatureImporter:add_joint()
2013-07-14 16:24:42 +00:00
Gaia Clary
ce6cfeca40
minor: commented fallthrough
2013-07-14 12:30:05 +00:00
Gaia Clary
f5033303e1
fix : #34823 Collada: nodes exporting world matrices
2013-07-14 00:34:21 +00:00
Gaia Clary
725543241a
Avoid blender crash during collada export (when armature has animation data)
2013-06-26 09:02:11 +00:00
Gaia Clary
c42c9cb234
Added missing include to collada sources
2013-06-24 13:17:21 +00:00
Campbell Barton
cda5770160
code cleanup: also fix crash in GPU_state_print(). and confine to debug mode builds.
2013-06-13 11:59:28 +00:00
Campbell Barton
9acadd17a9
fix [ #35592 ] Collada (DAE) exporter messes up vertex colors
2013-06-02 23:53:03 +00:00
Campbell Barton
dfad9b0c09
fix [ #35555 ] Collada: export destroys mesh in some cases
...
add arguments to calculate normals when converting to bmesh:
BM_mesh_bm_from_me, DM_to_bmesh
This gives some speedup to undo (which didnt need to re-calculate vertex normals), and array modifier which doesnt need to calculate face normals at all
2013-06-02 23:20:49 +00:00
Campbell Barton
225c5fee6b
move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)
...
remove MEM_sys_types.h which was a duplicate.
2013-05-28 19:35:26 +00:00
Campbell Barton
ef4db04da8
code cleanup: lots of calls to BKE_mesh_calc_normals_mapping were not using the mapping functionality.
...
replace ED_mesh_calc_normals with BKE_mesh_calc_normals().
2013-05-28 14:23:07 +00:00
Gaia Clary
be773f22b1
Added missing recalculate of normals after mesh import
2013-05-28 13:32:29 +00:00
Campbell Barton
ec8d277c64
BLI_math rename functions:
...
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4
these temporary names were used to avoid problems when argument order was switched.
2013-05-26 18:36:25 +00:00
Brecht Van Lommel
fdcca14090
Fix #35255 : build for older OpenCollada versions failed, but don't see a good
...
reason to not keep it working.
2013-05-08 10:07:58 +00:00
Brecht Van Lommel
c36365935c
Fix #35229 : collada crash exporting constraints with no target set.
2013-05-06 11:12:00 +00:00
Brecht Van Lommel
62087935ec
Fix #35209 : cycles generated texture coordinates did not stick to deforming meshes.
2013-05-05 05:56:41 +00:00
Brecht Van Lommel
cd60848dd0
Fix collada module build for visual studio 2012.
...
Patch #35153 by Jurgen Herrmann.
2013-04-29 19:15:53 +00:00
Gaia Clary
631f2b94ef
fix:#35073 face normals calculation used wrong mloop index
2013-04-25 13:28:32 +00:00
Brecht Van Lommel
cd7fbf9749
Fix part of #34746 : crash importing certain collada files with armatures. It still
...
imports the armature wrong though.
2013-04-22 15:49:15 +00:00
Brecht Van Lommel
c846e3c750
Fix #35014 : collada import crash with UV coordinates.
2013-04-18 21:40:06 +00:00
Sergey Sharybin
4df0c46f83
Make freestyle use local Main for temporary objects
...
This means main database is no longer pollutes with
temporary scene and objects needed for freestyle
render.
Actually, there're few of separated temporary mains
now. Ideally it's better to use single one, but it's
not so much trivial to pass it to all classes. Not
so big deal actually.
Required some changes to blender kernel, to make it
possible to add object to a given main, also to
check on mesh materials for objects in given main.
This is all straightforward changes.
As an additional, solved issue with main database
being infinitely polluted with text blocks created
by create_lineset_handler function.
This fixes:
- #35003 : Freestyle crashes if user expands objects in FRS1_Scene
- #35012 : ctrl+f12 rendering crashes when using Freestyle
2013-04-18 08:58:21 +00:00
Campbell Barton
1777a69818
misc minor edits.
...
- pass string size to BLI_timestr() to avoid possible buffer overrun.
- quiet warning for mingw.
- include guards for windows utf conversion funcs.
- fix for mistage in edge-angle-selection check.
- some style cleanup.
2013-03-29 06:25:22 +00:00
Gaia Clary
8fce915b6e
scon update for new collada libraries
2013-03-28 18:04:07 +00:00
Gaia Clary
32ec0c762e
Updated Blender Collada module to newest opencollada API
2013-03-28 18:03:01 +00:00
Campbell Barton
64d161de87
style cleanup:
...
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-26 07:29:01 +00:00
Bastien Montagne
6926596174
More new data names translation (most cases should be covered now).
...
Also done a few cleanup here and there...
2013-03-25 08:29:06 +00:00
Campbell Barton
e1a54214bb
code cleanup:
...
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
2013-03-25 02:41:30 +00:00
Campbell Barton
92d7955d13
fix for struct definition building with msvc2008 and some style cleanup.
2013-03-24 01:19:55 +00:00
Campbell Barton
01e9dae3dc
code cleanup
2013-03-18 18:25:05 +00:00
Campbell Barton
655ed9cc7f
style cleanup
2013-03-18 11:44:56 +00:00
Campbell Barton
3dababa7ec
code cleanup: name mesh functions more consistently, also use bools for mesh args.
2013-03-17 19:55:10 +00:00
Campbell Barton
a0351fd97e
object converting curve/mball to a mesh would give invalid selection state (edges selected but nothing else).
...
add arg to BKE_mesh_calc_edges() so selecting newly created edges is optional.
2013-03-16 01:19:03 +00:00
Campbell Barton
0807c976f4
code cleanup: rename BKE_mesh_to_curve_ex --> BKE_mesh_to_curve_nurblist,
...
also correct odd indentation.
2013-03-15 10:48:48 +00:00
Campbell Barton
ffc8ecc587
use BLI_strncpy_rlen() rather then BLI_snprintf() when no formatting is needed.
...
also replace sprintf with strcpy when no formatting is done.
2013-03-14 10:39:18 +00:00
Campbell Barton
c36f20a7d2
style cleanup
2013-03-08 04:00:06 +00:00
Gaia Clary
172d624598
Collada fixed Collada ID name for exported animation curves
2013-03-07 10:26:04 +00:00
Gaia Clary
8664d4b98b
Collada: Added option for how rot,loc,trans data is exported (improves flexibility for support of other 3D tools)
2013-03-06 23:21:52 +00:00