Sergey Sharybin [Tue, 27 Sep 2011 09:26:46 +0000 (09:26 +0000)]
Merging r40572 through r40597 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 27 Sep 2011 09:21:17 +0000 (09:21 +0000)]
Fixing typo in comment - no functional changes
Sergey Sharybin [Tue, 27 Sep 2011 09:09:55 +0000 (09:09 +0000)]
navmesh: code clean-up, should be no functional changes.
Sergey Sharybin [Tue, 27 Sep 2011 09:09:52 +0000 (09:09 +0000)]
navmesh: solve bad level calls to edit mesh functions
Move navmesh operators from editors/object to editors/mesh
Sergey Sharybin [Tue, 27 Sep 2011 09:09:43 +0000 (09:09 +0000)]
navmesh: convert object_navmesh.cpp to plain c.
Campbell Barton [Tue, 27 Sep 2011 05:28:06 +0000 (05:28 +0000)]
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
Campbell Barton [Tue, 27 Sep 2011 04:07:48 +0000 (04:07 +0000)]
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.
Campbell Barton [Tue, 27 Sep 2011 01:32:27 +0000 (01:32 +0000)]
fix for building on windows, clear some warnings too
Martin Poirier [Tue, 27 Sep 2011 01:28:15 +0000 (01:28 +0000)]
[#28681] Switching transform type doesn't register correct operator for 'repeat'.
Reported by Nicholas Rishel
Part of a potential fix, see discussion in tracker.
Sergey Sharybin [Mon, 26 Sep 2011 20:16:43 +0000 (20:16 +0000)]
Camera tracking integration
===========================
Fix for msvc2010 compilaiton. Patch by Nico Blends, thanks!
Sergey Sharybin [Mon, 26 Sep 2011 20:03:07 +0000 (20:03 +0000)]
Camera tracking integration
===========================
Attempt to fix MinGW compilaiton.
Sergey Sharybin [Mon, 26 Sep 2011 19:00:12 +0000 (19:00 +0000)]
Camera tracking integration
===========================
Lookup grids used for image distortion/undistortion are now
caching and re-building if distortion settings are changing.
This speedups compositor node for cases distortion model isn't
changing, but first run and runs after changing distortion
coefficients is still slow.
Campbell Barton [Mon, 26 Sep 2011 18:51:10 +0000 (18:51 +0000)]
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.
Campbell Barton [Mon, 26 Sep 2011 17:32:50 +0000 (17:32 +0000)]
fix [#28742] UILayout.menu() with icon misbehaves in headers
Campbell Barton [Mon, 26 Sep 2011 17:30:56 +0000 (17:30 +0000)]
replace strnlen with BLI_strnlen, make some args const - no functional changes.
Campbell Barton [Mon, 26 Sep 2011 16:53:04 +0000 (16:53 +0000)]
use BLI_snprintf rather than sprintf for interface functions
Sergey Sharybin [Mon, 26 Sep 2011 15:49:03 +0000 (15:49 +0000)]
Camera tracking integration
===========================
Fixed type in checking if on-fly undistortion is needed.
Campbell Barton [Mon, 26 Sep 2011 15:39:15 +0000 (15:39 +0000)]
pep8 cleanup and fix for keymap test operator from my own recent fix.
Sergey Sharybin [Mon, 26 Sep 2011 15:39:10 +0000 (15:39 +0000)]
Camera tracking integration
===========================
- Now different areas can use different default oclor for
new layer creating when making initial stroke.
- Change default color for movie clip to pink.
It's much useful now because black strokes aren't useful
at all because it's difficult to notice them and you always
used to change layer's color before doing manual calibraiton.
Sergey Sharybin [Mon, 26 Sep 2011 15:07:06 +0000 (15:07 +0000)]
Camera tracking integration
===========================
- If render size is set to "Full Render" and undistorted render
is enabled, do on-fly undistortion so distortion coefficients
can be visually verifed before baking.
- Made slight change in libmv-side to survive with large distortion
coefficients. Hope this change is fine.
Sergey Sharybin [Mon, 26 Sep 2011 15:00:23 +0000 (15:00 +0000)]
Merging trunk up to revision 40571
Sergey Sharybin [Mon, 26 Sep 2011 14:29:39 +0000 (14:29 +0000)]
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.
Sergey Sharybin [Mon, 26 Sep 2011 14:21:40 +0000 (14:21 +0000)]
Abort on guarded memory manager errors if WITH_ASSERT_ABORT is set
Bastien Montagne [Mon, 26 Sep 2011 13:24:42 +0000 (13:24 +0000)]
Commented and tagged some unused vars (gcc warnings...). Also fixed some uninitialized warnings.
Bastien Montagne [Mon, 26 Sep 2011 12:08:04 +0000 (12:08 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.
Campbell Barton [Mon, 26 Sep 2011 11:22:07 +0000 (11:22 +0000)]
fix for keymap export, move functions common for the UI and operators into bpy_extras.keymap_utils
Sergey Sharybin [Mon, 26 Sep 2011 11:08:23 +0000 (11:08 +0000)]
Camera tracking integration
===========================
Renamed "Kayframe {1, 2}" to "Keyframe {A, B}"
Campbell Barton [Mon, 26 Sep 2011 10:35:47 +0000 (10:35 +0000)]
change define INTERNATIONAL --> WITH_INTERNATIONAL
also rename backface_culling --> use_backface_culling (which is used elsewhere in rna)
Sergey Sharybin [Mon, 26 Sep 2011 10:25:38 +0000 (10:25 +0000)]
Camera tracking integration
===========================
Various grease pencil fixes:
- Last segment of distorted poly line wasn't drawing when
manual calibration is enabled.
- Grease pencil+2d stabilization should live together fine now.
Sergey Sharybin [Mon, 26 Sep 2011 10:16:11 +0000 (10:16 +0000)]
Camera tracking integration
===========================
Fixed compilation error with collada enabled.
Campbell Barton [Mon, 26 Sep 2011 09:43:35 +0000 (09:43 +0000)]
comment -Wundef for cmake default flags, this causes too many warnings with mingw.
Daniel Salazar [Mon, 26 Sep 2011 09:36:51 +0000 (09:36 +0000)]
Reverting change to solver_relax.h from commit 40539, caused this nasty bug 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!
Campbell Barton [Mon, 26 Sep 2011 09:31:24 +0000 (09:31 +0000)]
add missing imports to wm.py and remove "." from rna descriptions.
Sergey Sharybin [Mon, 26 Sep 2011 08:51:02 +0000 (08:51 +0000)]
Fix #28747: Crash in Node Editor
Setting of transform flags happened with NULL edittree
Campbell Barton [Mon, 26 Sep 2011 08:33:51 +0000 (08:33 +0000)]
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.
Dalai Felinto [Mon, 26 Sep 2011 07:54:30 +0000 (07:54 +0000)]
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
Campbell Barton [Mon, 26 Sep 2011 07:39:29 +0000 (07:39 +0000)]
bugfix [#28744] Object mapped textures (decals) in linked files are not rendered properly
Dalai Felinto [Mon, 26 Sep 2011 06:39:19 +0000 (06:39 +0000)]
BGE Material settings renaming Back Culling to Backface Culling and make it on by default
under suggestion of Mitchell Stokes (Moguri)
Dalai Felinto [Mon, 26 Sep 2011 06:29:58 +0000 (06:29 +0000)]
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
Dalai Felinto [Mon, 26 Sep 2011 05:26:04 +0000 (05:26 +0000)]
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.
Sergey Sharybin [Sun, 25 Sep 2011 20:03:03 +0000 (20:03 +0000)]
Merging trunk into soc-2011-tomato up to revision 40540
Bastien Montagne [Sun, 25 Sep 2011 15:37:06 +0000 (15:37 +0000)]
Commented and tagged some unused vars (gcc warnings...).
Andrew Wiggin [Sun, 25 Sep 2011 12:33:51 +0000 (12:33 +0000)]
Fix some MSVC 2010 warnings (including one apparent bug in intern/elbeem/intern/solver_relax.h)
Campbell Barton [Sun, 25 Sep 2011 12:31:21 +0000 (12:31 +0000)]
whitespace cleanup
Alex Fraser [Sun, 25 Sep 2011 11:51:28 +0000 (11:51 +0000)]
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.
Bastien Montagne [Sun, 25 Sep 2011 09:55:13 +0000 (09:55 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.
Campbell Barton [Sun, 25 Sep 2011 07:42:43 +0000 (07:42 +0000)]
patch [#28616] Multiple particle systems support
from Andrea Rugliancich (andrearu01)
Mitchell Stokes [Sun, 25 Sep 2011 07:03:20 +0000 (07:03 +0000)]
BGE Animations: Fixing various Action Actuator compatibility issues reported by Dalai in issue #28723.
Campbell Barton [Sun, 25 Sep 2011 05:48:16 +0000 (05:48 +0000)]
added bone envelope to the editbone UI, also use more BLI_math functions for armature drawing.
Campbell Barton [Sun, 25 Sep 2011 04:55:04 +0000 (04:55 +0000)]
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.
Campbell Barton [Sun, 25 Sep 2011 04:47:46 +0000 (04:47 +0000)]
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.
Campbell Barton [Sun, 25 Sep 2011 04:17:00 +0000 (04:17 +0000)]
give a more useful error when building with an old ffmpeg.
Campbell Barton [Sun, 25 Sep 2011 02:49:46 +0000 (02:49 +0000)]
make new rna variables more consistant with existing names.
Dalai Felinto [Sat, 24 Sep 2011 23:50:00 +0000 (23:50 +0000)]
manual update on changelog (python API)
Change as suggested by Campbell.
I'm not sure if this is the way to do for enums, I will check with him later
Dalai Felinto [Sat, 24 Sep 2011 22:40:56 +0000 (22:40 +0000)]
Python API changelog r37840-40524 (HEAD)
updating the doc.
I'm also including the latest API dump with it. This helps to keep track of the revisions to update and the next person updating doesnt need to build an old Blender for that (as I just had to).
I updated the sphinx_changelog_gen.py with this info as well.
I'll update changelog.rst manually next. I'm not so sure how to indicate that the properties were replaced instead of only removed.
Dalai Felinto [Sat, 24 Sep 2011 22:15:37 +0000 (22:15 +0000)]
removing texface rna - changelog.rst update soon
Bastien Montagne [Sat, 24 Sep 2011 16:17:23 +0000 (16:17 +0000)]
Minor: Added PROP_DISTANCE sub-type to min/max dstances of WeightVG Proximity, and Radius of Warp modifiers.
Campbell Barton [Sat, 24 Sep 2011 14:34:24 +0000 (14:34 +0000)]
edits to internal renderer - no functional changes.
- move some larger vars into a nested scope.
- replace memset with zero initializer.
- rempace VECCOPY macros with copy_v3v3
- change function args to give the float array length.
Campbell Barton [Sat, 24 Sep 2011 11:24:34 +0000 (11:24 +0000)]
fix [#28736] FaceMask crash on Weight Paint
Campbell Barton [Sat, 24 Sep 2011 11:10:53 +0000 (11:10 +0000)]
svn merge ^/branches/bmesh/blender -r40512:40513
Bastien Montagne [Sat, 24 Sep 2011 09:57:47 +0000 (09:57 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo
Sergey Sharybin [Fri, 23 Sep 2011 19:42:35 +0000 (19:42 +0000)]
Camera tracking integration
==========================
- Added building undstorted proxies.
- Move render proxy settings outside from movie clip to
clip user, so now different users can use different proxies.
For example, clip editor displays original footage, 3d viewport
displays 75% undistorted proxy.
- Unified paths used for sequence and movie clips.
Please, rebuild proxies if they would fail to load.
- Added experimental operator "Delete Proxy". Use with care.
- Moved clip operators outside of space_clip.
Sergey Sharybin [Fri, 23 Sep 2011 19:39:45 +0000 (19:39 +0000)]
Merging r40493 through r40509 from trunk into soc-2011-tomato
Sergey Sharybin [Fri, 23 Sep 2011 19:33:04 +0000 (19:33 +0000)]
Fix for recent Campbell's commit.
Campbell Barton [Fri, 23 Sep 2011 18:29:45 +0000 (18:29 +0000)]
some speedup for drawing mesh in texture mode.
- only pass if the mesh has vertex colors to drawParams() rather then the mcol its self, this saves a lookup on the color.
- drawing textures in editmode with no vertex colors would still lookup vertex colors on each face, instead cache this info for all faces.
Bastien Montagne [Fri, 23 Sep 2011 17:44:57 +0000 (17:44 +0000)]
Fix [#28729] World units not used for new object creation.
Setting PROP_DISTANCE subtype for "size" properties of add mesh operators.
Campbell Barton [Fri, 23 Sep 2011 17:38:52 +0000 (17:38 +0000)]
- move animsys update operator into the anim.py
- move the data into animsys_refactor.py module so its not loaded on blender start.
Campbell Barton [Fri, 23 Sep 2011 13:47:29 +0000 (13:47 +0000)]
minor edits to recent fix for addons
Sergey Sharybin [Fri, 23 Sep 2011 13:35:53 +0000 (13:35 +0000)]
Camera tracking integration
===========================
Code and tool-tips clean-up
Thomas Dinges [Fri, 23 Sep 2011 13:29:28 +0000 (13:29 +0000)]
* Some more fixes for recent move operator commit.
Sergey Sharybin [Fri, 23 Sep 2011 13:20:21 +0000 (13:20 +0000)]
Merging r40265 through r40492 from trunk into soc-2011-tomato
Jens Verwiebe [Fri, 23 Sep 2011 09:26:03 +0000 (09:26 +0000)]
Fix fluid openMP not baking with some threadcounts
Bastien Montagne [Fri, 23 Sep 2011 08:33:32 +0000 (08:33 +0000)]
Minor: Other UI strings typos and tweaks. Also updated french po & mo.
Thomas Dinges [Fri, 23 Sep 2011 05:20:15 +0000 (05:20 +0000)]
* Fix for the Operator move commit, missed includes.
* import os at the beginning of file
Campbell Barton [Thu, 22 Sep 2011 22:51:54 +0000 (22:51 +0000)]
remove bl_operators/nla.py, move bake_action function into bpy_extras.anim_utils and bake operator into bl_operators/anim.py
Guillermo S. Romero [Thu, 22 Sep 2011 20:37:22 +0000 (20:37 +0000)]
SVN maintenance.
Thomas Dinges [Thu, 22 Sep 2011 19:50:41 +0000 (19:50 +0000)]
2.6 Python UI files:
* Moved Operators from bl_ui into bl_operators.
* Renamed HELP_OT_operator_cheat_sheet to WM_OT_operator_cheat_sheet.
Campbell Barton [Thu, 22 Sep 2011 18:42:16 +0000 (18:42 +0000)]
remove redundant code & use GL_LINE_STRIP for object spiral drawing.
Sergey Sharybin [Thu, 22 Sep 2011 17:52:27 +0000 (17:52 +0000)]
Remove checks for voxel data when texture type is known.
Sergey Sharybin [Thu, 22 Sep 2011 17:52:21 +0000 (17:52 +0000)]
Corrected fix for #28722: Segfault when reading volumetric clouds example
Looks like with current implementation voxeldata should always be created
for voxel textures. Remove recently added NULL check and allocate
voxel data when linking a texture.
Sergey Sharybin [Thu, 22 Sep 2011 16:57:16 +0000 (16:57 +0000)]
Fix #28226: Selection highlighting is wrong when Solidify Modifier is used
Set origindices for edges/faces created for rim to ORIGINDEX_NONE.
Also discovered error in recent editmode VBO fix -- it used to crash
when comparing faces with ORIGINDEX_NONE original index.
Sergey Sharybin [Thu, 22 Sep 2011 16:28:38 +0000 (16:28 +0000)]
Fix #28722: Segfault when reading volumetric clouds example
Added checking for voxel data isn't NULL.
Brecht Van Lommel [Thu, 22 Sep 2011 15:46:43 +0000 (15:46 +0000)]
Fix #28549: file browser recent directories could include directory that
doesn't exist after cancelling make directory. Patch by Sergey.
Sergey Sharybin [Thu, 22 Sep 2011 15:46:34 +0000 (15:46 +0000)]
Fix rest of #28693: Proportional edit hangs on mesh object with high scale
Patchy by Juha Maki-Kanto
Brecht Van Lommel [Thu, 22 Sep 2011 15:44:35 +0000 (15:44 +0000)]
Fix warnings about operator descriptions ending with "."
Sergey Sharybin [Thu, 22 Sep 2011 15:39:31 +0000 (15:39 +0000)]
Fix #28489: Wacom Intuos 4 tablet doesn't work with outliner
Stylus can produce slight movements when it touches tablet,
so CLICK event wasn't triggering. Do not store INBETWEEN_MOUSE
as previous event to make CLICK events triggered correct.
Thanks to Brecht to pointing on short way to fix this problem.
Brecht Van Lommel [Thu, 22 Sep 2011 15:35:25 +0000 (15:35 +0000)]
Fix #28365: some macro operators were missing descriptions.
Brecht Van Lommel [Thu, 22 Sep 2011 14:55:39 +0000 (14:55 +0000)]
Fix #28593: F6 operator redo could crash when editing buttons that use unit
settings, these could get freed with the scene on undo/redo, make a copy now.
Campbell Barton [Thu, 22 Sep 2011 14:42:29 +0000 (14:42 +0000)]
clear up some warnings.
Brecht Van Lommel [Thu, 22 Sep 2011 14:29:15 +0000 (14:29 +0000)]
Fix #28651: dopesheet crash when configuring keymap to use translate tool.
This doesn't work, needs to be time translate, but we can avoid the crash.
Brecht Van Lommel [Thu, 22 Sep 2011 12:45:25 +0000 (12:45 +0000)]
Fix #28585: read full sample layers not working in compositor.
Sergey Sharybin [Thu, 22 Sep 2011 12:07:02 +0000 (12:07 +0000)]
Fix #28695: path/beziercirlce defined surface dissapears when deleting subdv of path until toggling end point option
Clamp order when deleting points from nurb curve.
Also fixed incorrect free caused by non-initialized knots array
when deleting segment from non-cyclic nurb.
Bastien Montagne [Thu, 22 Sep 2011 12:00:24 +0000 (12:00 +0000)]
Minor: Bah, doxygen file's doc comments were also missing from warp and navmesh modifiers...
Bastien Montagne [Thu, 22 Sep 2011 11:52:42 +0000 (11:52 +0000)]
Minor: Added doxygen file's doc comments in weightvg modifiers.
Bastien Montagne [Thu, 22 Sep 2011 11:16:04 +0000 (11:16 +0000)]
Minor: Other UI strings typos and tweaks.
Campbell Barton [Thu, 22 Sep 2011 07:01:28 +0000 (07:01 +0000)]
correction for removal of _("")
Morten Mikkelsen [Thu, 22 Sep 2011 05:36:52 +0000 (05:36 +0000)]
addendum to prev bugfix on texture space bump
Campbell Barton [Thu, 22 Sep 2011 05:05:26 +0000 (05:05 +0000)]
use bli math functions for vgroup_fix operator.
Campbell Barton [Thu, 22 Sep 2011 04:41:12 +0000 (04:41 +0000)]
use the systems number of processes for running static checks - multiple jobs.
Campbell Barton [Thu, 22 Sep 2011 03:14:50 +0000 (03:14 +0000)]
comment some unused vars / assignments.