Commit Graph

549 Commits

Author SHA1 Message Date
aa8488421f style cleanup: whitespace & odd indentation 2013-09-21 10:46:58 +00:00
Nathan Letwory
1d936a1074 Ensure positions can be read for sources that have stride
defined as 2 (2D coordinates).
2013-09-19 21:59:22 +00:00
f6b37f34ec code cleanup:
- add missing headers from cmake (own omission)
- quiet rna_test.c unused define warnings.
- minor style edits
- spelling corrections and ignore all uppercase words with spell checking script.
2013-09-05 19:56:49 +00:00
Nathan Letwory
76aa5dfb70 Apply patch [#36601].
Submitted by Saurabh Wankhade (sauraedron).

This patch adds camera shift and dof export and import in a Blender profile.
2013-09-05 06:58:27 +00:00
3741a588bc Fix 36505: Collada exporter crashes Blender when exporting to locked file 2013-08-24 09:51:05 +00:00
9843170f4b * Compile fix for r59395, 'move bmesh tools into their own include'. 2013-08-23 11:16:52 +00:00
ab777e957c fix(Collada): wrong usage of the set attribute with multiple UV sets 2013-08-02 15:58:11 +00:00
f7169cd47d fix: [#36148] Collada instance nodes are not scaled properly during import 2013-07-30 12:18:24 +00:00
5c69338fe6 apply world matrix only to armature, Bones and children get it implicit via parenting 2013-07-30 11:10:04 +00:00
90eec89125 Collada: renamed size_mat to scale_mat for clarity. removed obsolete variable definition 2013-07-30 07:32:37 +00:00
8140f56575 Collada: unit converter was not initialized for ArmatureImporter 2013-07-30 07:22:40 +00:00
a5cc8f2c92 Collada: Optimize Scale to scene. Only need to scale the root objects of a hierarchy 2013-07-29 22:15:04 +00:00
1a3a252e06 Collada: Import now always rotates input to match blender's Z_UP axis 2013-07-29 21:51:53 +00:00
c8958eea29 Added Scene scale calculator to UnitConverter for future usage (wip) 2013-07-29 21:22:59 +00:00
966b301546 Added/changed comment for clarification 2013-07-29 17:27:27 +00:00
91fc92794c Import of single bones used infinite bone size 2013-07-26 22:19:46 +00:00
824ec5a388 code cleanup: case & brace placement 2013-07-19 10:40:43 +00:00
1d4bd90c84 Avoid creating Morph Controllers when shape key export is disabled 2013-07-18 07:54:19 +00:00
89f4445b44 Leaf bone length calculation used wrong bone tail 2013-07-17 21:06:27 +00:00
f2db6949c2 Fix: #36184 Collada import/export... leaf bone size was not set as needed. 2013-07-17 20:22:08 +00:00
61cb92f701 fix: #36122 Collada import - Keyframes offset after recording and playing 2013-07-15 11:01:23 +00:00
bd863ce58d Collada miport: Report 'unknown animation class' only when relevant 2013-07-15 10:50:04 +00:00
e353593b30 fix: #36060 Collada Import: animated armature+mesh problem 2013-07-14 17:21:12 +00:00
4507dd9a7e Removed unused paramter from ArmatureImporter:add_joint() 2013-07-14 16:24:42 +00:00
ce6cfeca40 minor: commented fallthrough 2013-07-14 12:30:05 +00:00
f5033303e1 fix: #34823 Collada: nodes exporting world matrices 2013-07-14 00:34:21 +00:00
725543241a Avoid blender crash during collada export (when armature has animation data) 2013-06-26 09:02:11 +00:00
c42c9cb234 Added missing include to collada sources 2013-06-24 13:17:21 +00:00
cda5770160 code cleanup: also fix crash in GPU_state_print(). and confine to debug mode builds. 2013-06-13 11:59:28 +00:00
9acadd17a9 fix [#35592] Collada (DAE) exporter messes up vertex colors 2013-06-02 23:53:03 +00:00
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
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
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
be773f22b1 Added missing recalculate of normals after mesh import 2013-05-28 13:32:29 +00:00
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
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
c36365935c Fix #35229: collada crash exporting constraints with no target set. 2013-05-06 11:12:00 +00:00
62087935ec Fix #35209: cycles generated texture coordinates did not stick to deforming meshes. 2013-05-05 05:56:41 +00:00
cd60848dd0 Fix collada module build for visual studio 2012.
Patch #35153 by Jurgen Herrmann.
2013-04-29 19:15:53 +00:00
631f2b94ef fix:#35073 face normals calculation used wrong mloop index 2013-04-25 13:28:32 +00:00
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
c846e3c750 Fix #35014: collada import crash with UV coordinates. 2013-04-18 21:40:06 +00:00
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
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
8fce915b6e scon update for new collada libraries 2013-03-28 18:04:07 +00:00
32ec0c762e Updated Blender Collada module to newest opencollada API 2013-03-28 18:03:01 +00:00
64d161de87 style cleanup:
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-26 07:29:01 +00:00
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
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
92d7955d13 fix for struct definition building with msvc2008 and some style cleanup. 2013-03-24 01:19:55 +00:00