Commit Graph

32172 Commits

Author SHA1 Message Date
Sergey Sharybin
cb7b7b3b9e Silence some gcc warnings. 2011-09-27 13:33:32 +00:00
Jens Verwiebe
6f2d937a63 OSX: introduced a workaround for compiling with non-apple gcc-4.6.1, ghost must be compiled with apple-gcc nevertheless due objc incompatibilities 2011-09-27 13:18:34 +00:00
Sergey Sharybin
4b24951ff1 Return back nice eye icon to constraints header (instead of speaker which not so nice in this context, imo) 2011-09-27 13:11:19 +00:00
Campbell Barton
e4c299d975 comment warnings as errors for MSVC - it too easily made small problems like unused vars into errors which gets annoying for non developers.
with GCC we have *some* warnings as errors which works out better.
2011-09-27 12:08:35 +00:00
Bastien Montagne
6b825e6798 Commented and tagged some unused vars (gcc warnings...) 2011-09-27 11:02:19 +00:00
Jens Verwiebe
7ba71fff8c OSX: fix player bundle_creation 2011-09-27 10:51:57 +00:00
Campbell Barton
768806adc0 bpy.app.handlers.frame_change_pre/post handlers. 2011-09-27 10:43:45 +00:00
Bastien Montagne
7fbfca48d2 Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-09-27 10:37:02 +00:00
Sergey Sharybin
b0e7dc3545 Fix for messages.txt generator -- KM_HIERARCHY was moved to other module 2011-09-27 09:43:35 +00:00
Sergey Sharybin
1d202ba90c Fix for recent commit: mistake in sconscript 2011-09-27 09:40:53 +00:00
Sergey Sharybin
a1857b407c Fixing typo in comment - no functional changes 2011-09-27 09:21:17 +00:00
Sergey Sharybin
b66f219687 navmesh: code clean-up, should be no functional changes. 2011-09-27 09:09:55 +00:00
Sergey Sharybin
dcccf3fc1f navmesh: solve bad level calls to edit mesh functions
Move navmesh operators from editors/object to editors/mesh
2011-09-27 09:09:52 +00:00
Sergey Sharybin
a25c7f647e navmesh: convert object_navmesh.cpp to plain c. 2011-09-27 09:09:43 +00:00
Campbell Barton
928e2784c6 py api
- use Py_ssize_t when dealing with python sequence sizes
- dont call PySequence_Size(py_b) in a loop (its slow).
- use faster sequence/float parsing in aud.Factory.filter
2011-09-27 05:28:06 +00:00
Campbell Barton
d98bcb8a77 fix for py/rna api bug:
PyC_UnicodeAsByte(), used for getting python strings as bytes wasnt clearning utf-8 conversion errors.
  this would raise an error when getting an operators filepath.
2011-09-27 04:07:48 +00:00
Campbell Barton
f4dec97cef fix for building on windows, clear some warnings too 2011-09-27 01:32:27 +00:00
Martin Poirier
2170301204 [#28681] Switching transform type doesn't register correct operator for 'repeat'.
Reported by Nicholas Rishel

Part of a potential fix, see discussion in tracker.
2011-09-27 01:28:15 +00:00
Campbell Barton
58587a3881 replace strncpy with BLI_strncpy, in some cases strncpy was being misused since it doesnt ensure \0 termination.
also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-26 18:51:10 +00:00
Campbell Barton
e897c8e83e fix [#28742] UILayout.menu() with icon misbehaves in headers 2011-09-26 17:32:50 +00:00
Campbell Barton
dc76be62d9 replace strnlen with BLI_strnlen, make some args const - no functional changes. 2011-09-26 17:30:56 +00:00
Campbell Barton
fbdfdfefd8 use BLI_snprintf rather than sprintf for interface functions 2011-09-26 16:53:04 +00:00
Campbell Barton
8a423f59ea pep8 cleanup and fix for keymap test operator from my own recent fix. 2011-09-26 15:39:15 +00:00
Sergey Sharybin
dc19877a09 Remove PROP_TRANSLATE flag from labels for operators, menus and panels.
This flag lead to storing translated label for templates and
instant language switching became impossible.

This labels are display-time translated.
2011-09-26 14:29:39 +00:00
Sergey Sharybin
3be50219fd Abort on guarded memory manager errors if WITH_ASSERT_ABORT is set 2011-09-26 14:21:40 +00:00
Bastien Montagne
3cff99c9a1 Commented and tagged some unused vars (gcc warnings...). Also fixed some uninitialized warnings. 2011-09-26 13:24:42 +00:00
Bastien Montagne
c23bc03382 Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-09-26 12:08:04 +00:00
Campbell Barton
e1e5371335 fix for keymap export, move functions common for the UI and operators into bpy_extras.keymap_utils 2011-09-26 11:22:07 +00:00
Campbell Barton
573ed73be8 change define INTERNATIONAL --> WITH_INTERNATIONAL
also rename backface_culling --> use_backface_culling (which is used elsewhere in rna)
2011-09-26 10:35:47 +00:00
Campbell Barton
fc8a7aba55 comment -Wundef for cmake default flags, this causes too many warnings with mingw. 2011-09-26 09:43:35 +00:00
Daniel Salazar
7ff634b8ef Reverting change to solver_relax.h from commit 40539, caused this nasty bug http://projects.blender.org/tracker/?func=detail&atid=498&aid=28748&group_id=9
I'd say better be careful with code so complex as the fluid sim!
2011-09-26 09:36:51 +00:00
Campbell Barton
0aa19de52f add missing imports to wm.py and remove "." from rna descriptions. 2011-09-26 09:31:24 +00:00
Sergey Sharybin
f0cceedd7a Fix #28747: Crash in Node Editor
Setting of transform flags happened with NULL edittree
2011-09-26 08:51:02 +00:00
Campbell Barton
b3d21088aa workaround/fix for [#28379] Shift+F problem when using Ortho Camera
temp switch to perspective mode since fly mode doesnt really make sense for otho view.
2011-09-26 08:33:51 +00:00
Dalai Felinto
aeafb960b1 OSX - cmake: blenderplayer part 2: Jens Verwiever co-patch
Using OSX Bundle (in oppose to Blender dummy .app) as start point for binary.
That way we don't need to move the blenderplayer after the bundle is finished and we can rebuild it without doing `make install`
I will test more tomorrow, but it should be working now
2011-09-26 07:54:30 +00:00
Campbell Barton
8f302f7ffd bugfix [#28744] Object mapped textures (decals) in linked files are not rendered properly 2011-09-26 07:39:29 +00:00
Dalai Felinto
11a0e00819 BGE Material settings renaming Back Culling to Backface Culling and make it on by default
under suggestion of Mitchell Stokes (Moguri)
2011-09-26 06:39:19 +00:00
Dalai Felinto
2d91b6cda7 wm.py needs import os in some of its execute funcs + now we can have blender2.60x version :)
I guess someone did a cleanup in the file and forgot to test "add an Add-On" ;)
+ a bug I found while studying the cmake files
2011-09-26 06:29:58 +00:00
Dalai Felinto
4b273f013e cmake files for bundling blenderplayer in OSX
this is working fine. The only problem is described in the XXX there.

While Blender is linked to the right place during `make` time (~/bin/blender.app/Content/MacOS/blender)
blenderplayer is in the top bin folder (~/bin/blenderplayer).

That means it will be correct only after you run `make install` (we are moving it to the right place inside the bundle).
I couldn't find the place to fix this properly. I will see with Jens Verwiebe how we can address that.
2011-09-26 05:26:04 +00:00
Bastien Montagne
a932f93098 Commented and tagged some unused vars (gcc warnings...). 2011-09-25 15:37:06 +00:00
Andrew Wiggin
7c46f1c4b7 Fix some MSVC 2010 warnings (including one apparent bug in intern/elbeem/intern/solver_relax.h) 2011-09-25 12:33:51 +00:00
Campbell Barton
274b9c8fb8 whitespace cleanup 2011-09-25 12:31:21 +00:00
Alex Fraser
558b646216 Committing patch #27442: Adaptive time step for fluid particles. The number of
subframes can now be altered automatically while an SPH (fluid particle)
simulation is running.
2011-09-25 11:51:28 +00:00
Bastien Montagne
9931c9442e Minor: Other UI strings typos and tweaks. Also updated french po & mo. 2011-09-25 09:55:13 +00:00
Campbell Barton
3379099a6e patch [#28616] Multiple particle systems support
from Andrea Rugliancich (andrearu01)
2011-09-25 07:42:43 +00:00
Mitchell Stokes
58a74bc87f BGE Animations: Fixing various Action Actuator compatibility issues reported by Dalai in issue #28723. 2011-09-25 07:03:20 +00:00
Campbell Barton
0f21ecdb16 added bone envelope to the editbone UI, also use more BLI_math functions for armature drawing. 2011-09-25 05:48:16 +00:00
Campbell Barton
2d5dd02db8 correction to armature drawing code, was implicitly casting the bone flag to a short when it contains flags in the int range.
also was converting pose bone constflag to an int which is harmless but may as well not to it.
2011-09-25 04:55:04 +00:00
Campbell Barton
e3c9986b7c fix [#28459] Fly mode problem: "Precision enable" not working in 2.59
also added back freelook (from 2.4x) - so you can loop about without changing direction.
2011-09-25 04:47:46 +00:00
Campbell Barton
f260a878e4 give a more useful error when building with an old ffmpeg. 2011-09-25 04:17:00 +00:00