Commit Graph

69 Commits

Author SHA1 Message Date
e701f9b670 style cleanup: whitespace / commas 2012-04-29 15:47:02 +00:00
b340f930ec style cleanup: changes to brace placement / newlines - for/while/if/switch 2012-04-28 06:31:57 +00:00
5b88712ff9 move debug flag into its own global var (G.debug), split up debug options.
--debug
  --debug-ffmpeg
  --debug-python
  --debug-events
  --debug-wm

This makes debug output easier to read - event debug prints would flood output too much before.

For convenience:
  --debug-all turns all debug flags on (works as --debug did before).

also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-31 00:59:17 +00:00
07065b27b8 style cleanup 2012-03-28 05:03:24 +00:00
b8a71efeba style cleanup: follow style guide for/with/if spacing 2012-03-24 07:52:14 +00:00
47c373c7a9 style cleanup (mostly whitespace) 2012-02-27 10:35:39 +00:00
f3bef40b0c #collada animation import, bugfix #29082
Fix skeletal animation import for <rotation>, <scale> and <translate> transform types.

Tested for correctness visually using Seymouranim2.dae from http://collada.org/owl and animated creatures from DKGamesModels folder (from private section of the same site). The results match the results in FXComposer-2.5.

Since this is a fix towards correct reading of collada, it shouldn't break existing compatibility with Second Life.
2012-02-18 06:22:20 +00:00
3311164b24 Math lib: matrix multiplication order fix for two functions that were
inconsistent with similar functions & math notation:

mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B)
mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B)

For branch maintainers, it should be relatively simple to fix things manually,
it's also possible run this script after merging to do automatic replacement:
http://www.pasteall.org/27459/python
2011-12-16 19:53:12 +00:00
4a04f72069 remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
5cf593a778 strcpy() --> BLI_strncpy(), where source strings are not fixed and target size is known. 2011-10-19 23:10:54 +00:00
0c0259d931 fix [#28909] OpenCollada export / import sintel lite v2.1 crashes on import. 2011-10-14 02:31:04 +00:00
018fa1540e whitespace edits, make formatting for functions consustent at least within the file. 2011-09-28 05:53:40 +00:00
274b9c8fb8 whitespace cleanup 2011-09-25 12:31:21 +00:00
d4898f9c40 use macros RAD2DEG & DEG2RAD rather then multiplying by 180.0/M_PI or M_PI/180.0 2011-09-17 09:43:51 +00:00
a6d9a5a972 Code cleanup: warning fixes. 2011-09-05 19:27:21 +00:00
Nathan Letwory
caa1acb6b1 Prevent potential crasher, commonEffects could be empty. 2011-09-04 02:12:03 +00:00
Nathan Letwory
1764f2135d Some whitespace changes 2011-09-04 00:15:59 +00:00
cdbb904b32 code review fixes 2011-08-26 15:16:27 +00:00
bcadb6b939 small fixes and refactoring. 2011-08-20 16:48:53 +00:00
e86e922f5b Armature importer code cleanup. 2011-08-17 18:29:01 +00:00
f04fb5b6ea Finalizing. 2011-08-16 16:03:37 +00:00
e93444f816 Matrix transformation animation import for other objects under the new system. 2011-08-14 16:14:32 +00:00
c86bcd5065 transform matrix animation import fix. 2011-08-13 16:22:14 +00:00
83f0c6e569 Transform matrix Animation import fix. 2011-08-12 20:38:29 +00:00
286a6d39c7 import only transform matrix animation method ( in progress ) 2011-08-10 19:43:40 +00:00
11d4cfaa71 Baked Animation re-Import fix 2011-08-10 17:51:18 +00:00
407ec19431 temporary fix for quat rotations 2011-08-09 16:28:08 +00:00
c095397c98 Armature bake animation export ( not as pose matrices. Still needs fixing ) 2011-08-07 18:15:40 +00:00
f3c867c3db Camera Clipping animation COLLADA support fix. 2011-07-31 05:04:12 +00:00
90b64737f1 Material Diffuse Color animation COLLADA import. 2011-07-27 19:08:18 +00:00
4a32691416 Material diffuse color animation COLLADA export. 2011-07-27 18:38:44 +00:00
41216990dc Material Specular Color Animation import. 2011-07-27 17:43:32 +00:00
c22f26d203 Material Hardness Animation Import Complete. 2011-07-23 20:49:26 +00:00
cf34f7509f 2011-07-21 18:31:01 +00:00
2fb7dbd60c Material Specular Hardness Animation import (ongoing) 2011-07-18 19:32:51 +00:00
49d01fb30d Fixed Color animation import( support for Maya ) 2011-07-13 16:53:36 +00:00
6160bc596f 2011-07-10 07:34:11 +00:00
a5b37a8a0c Bug Fix. 2011-07-10 06:21:39 +00:00
daddbc62df 2011-07-09 19:33:02 +00:00
eb452225ce Improvements to import system. Ability to include more parameters. 2011-07-09 15:15:17 +00:00
be918954bd Fixed Camera Ortho scale animation import 2011-07-07 16:56:56 +00:00
a0d4a95ff7 Camera lens animation import. 2011-07-06 18:34:01 +00:00
6c88a16b3a Camera lens animation Identifying 2011-07-06 18:09:36 +00:00
9fca591c2b Spot Light spot_blend animation im/export. 2011-07-05 18:02:08 +00:00
af5d852857 Light(spot) spot_size (fall of angle in COLLADA) animation support completed. 2011-07-04 19:30:58 +00:00
1f4fca3654 Light Color Animation Import Complete. 2011-07-03 17:26:02 +00:00
aa295bb551 AnimationType flag. AnimationType Enum update. 2011-07-03 13:01:52 +00:00
9f99e5cc1e AnimationType Enum. 2011-07-03 12:33:52 +00:00
c922b41374 find_frames() calls removed. 2011-07-03 11:28:40 +00:00
a632091176 Light Animation Identification. 2011-07-03 11:07:34 +00:00