Commit Graph

43 Commits

Author SHA1 Message Date
3741a588bc Fix 36505: Collada exporter crashes Blender when exporting to locked file 2013-08-24 09:51:05 +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
6de829cb7a code cleanup: split scons includes onto multiple lines, reduce chance of include conflicts later on. 2013-05-20 18:42:28 +00:00
401fdf5065 py api: add Object.update_from_editmode(),
Useful for python exporters to avoid toggling editmode on export, moved into own function ED_object_editmode_load(obedit).
2013-03-21 14:12:04 +00:00
e7c15beaf6 code cleanup: use booleans for mesh and selection code. 2013-03-19 23:17:44 +00:00
aaa8a13c49 code cleanup: use const events for modal and invoke operators. 2013-03-13 09:03:46 +00:00
c36f20a7d2 style cleanup 2013-03-08 04:00:06 +00:00
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
be701b6278 Collada: Added support for ngon export/import and added triangulate option to export 2013-03-02 15:58:13 +00:00
0ac07404ba style cleanup: braces with multi-line statements, also add some comments. 2013-03-01 14:47:06 +00:00
debc3ac910 Collada export: Add ngon support (initial) 2013-02-27 13:53:43 +00:00
b1543f07bf Another bunch of UI translation fixes, thanks to Leon Cheung, Gabriel Gazzán and S. Lockal for spotting them! 2013-02-24 15:40:28 +00:00
b063bdbb5f Please stop adding points in tooltips, unless it is absolutely necessary! Commas, parenthesis, en quads, etc., do exist!
I took time to add basics about our UI messages conventions in blender code style guide (http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#UI_Messages), so I’d like to stop wasting time over such stupid things. Especially when I alredy did it one day ago!
2013-02-11 18:47:06 +00:00
9d6210c0ed Collada Importer: Some code cleanup and optimization of the rescale function 2013-02-11 11:12:44 +00:00
2005f7c6c0 style cleanup: also some typos 2013-02-11 00:49:00 +00:00
22dbb675c1 Fix #33437 Collada: Added scale matching for Scene imports. 2013-02-10 22:14:56 +00:00
942ad6d9cd style cleanup 2013-02-10 17:06:05 +00:00
82c86af7f7 Bunch of fixes for py ui messages (all those using 'formating' were not translated previously, now they use bpy.app.translations.pgettext). Also pleas avoid complex py statements in 'text' values (like 'text="foo" if cond else "bar"'), thes make message extraction script fails!
And another "final point in UI message" removal!
2013-02-09 18:26:40 +00:00
f34d1d5585 [#33437](partial fix) Collada: importing a scene changes units. Added an option to disable unit settings during import. 2013-02-09 16:19:30 +00:00
c263753d17 Added gsoc-2012 collada improvements from bratwurst branch 2013-01-21 13:45:49 +00:00
ab2c273b12 Added GPL header to sconscripts!
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-17 08:01:43 +00:00
64add7c9c7 More UI messages and BKE_reportf<->BKE_report fixes... 2012-10-16 07:53:10 +00:00
f3d261d795 Collada(exporter): Added error message when export file can not be created for whichever reason 2012-09-19 19:28:29 +00:00
71ecbe9b37 Fix for own r50715 (static func is much better here!)... 2012-09-18 15:13:45 +00:00
41392dccf0 Small fixes to languages names (thx to Dalai Felinto for the hints), and enable building with collada under gcc in paranoid warnings=errors mode (function prototypes needed)... 2012-09-18 07:03:23 +00:00
e75f5c8208 quiet -Wmissing-prototypes warnings, and enable this warning by default for C with gcc.
helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-15 01:52:28 +00:00
47ec91e8d3 code clenup: comments and some style edits on ghost/osx (odd indentation) 2012-09-06 02:10:09 +00:00
306e2b4878 stule cleanup 2012-09-04 18:47:08 +00:00
ee96cde864 style cleanup: whitespace 2012-08-26 11:35:43 +00:00
97e9659c53 style cleanup 2012-08-04 12:54:27 +00:00
cfb7aee017 style cleanup 2012-07-07 22:51:57 +00:00
37dc4006c7 First load of spell and typo fixes (mostly UI messages, but also one or two pieces of code using mis-spelled names). 2012-07-03 17:20:21 +00:00
25f59c8e0b code cleanup: cmake buildsystem edits, unused var warnings and better description for WITH_PYTHON_MODULE.
also disable workaround for some linux installs.
2012-06-28 08:51:02 +00:00
32478997ec style cleanup 2012-06-27 18:29:47 +00:00
8ef4c4762b Added option for exporting material based textures. Cleaned up header files due to a bug in osx 2012-06-23 22:03:31 +00:00
adf3a5e332 Collada: (Export) Added export of surface textures, and control over exported uv layers 2012-06-22 16:16:58 +00:00
5e6e9bd616 Pardon, typo in own commit for SCons changes. Also added missed headers.
Should work now.
2012-06-18 09:52:41 +00:00
e066d80dbc Forgot to define WITH_COLLADA in SCons in recent commit
Also fix some issues with header files:
- Added ifndef .. define .. endif blocks to be sure headers are not
  including twice.
- DO not include WM stuff in headers, use anonymous structure names instead.
2012-06-18 09:48:47 +00:00
54022cfa1c Fix compilation error for SCons
Was missed some scons rules after recent collada changes
2012-06-18 09:20:49 +00:00
e60adbb57d SVN maintenance. 2012-06-18 01:17:50 +00:00
3ef74070c9 Collada: fix for building without collada 2012-06-18 00:27:30 +00:00
5ee90fef31 Collada: fixed contributor line in CMakeLists.txt 2012-06-17 23:28:29 +00:00
15f4eb34fa Collada: Moved interface definitions from wm_operators.c to blender/editors/io 2012-06-17 23:13:39 +00:00