Campbell Barton [Tue, 11 Dec 2012 05:57:42 +0000 (05:57 +0000)]
cmake wouldn't build since it was missing files added in r52858.
Campbell Barton [Tue, 11 Dec 2012 02:13:42 +0000 (02:13 +0000)]
update api changelog
Joerg Mueller [Mon, 10 Dec 2012 16:58:47 +0000 (16:58 +0000)]
Audaspace:
Implemented forgotten Calculator classes from boost migration.
Sergey Sharybin [Mon, 10 Dec 2012 14:06:57 +0000 (14:06 +0000)]
Fix for maya keymap
Brecht Van Lommel [Mon, 10 Dec 2012 14:01:08 +0000 (14:01 +0000)]
Splash screen for 2.65, created by Jordan Schur.
Brecht Van Lommel [Mon, 10 Dec 2012 12:56:56 +0000 (12:56 +0000)]
Fix cycles OSL + AO enabled in world settings not working correct.
Sergey Sharybin [Mon, 10 Dec 2012 11:01:13 +0000 (11:01 +0000)]
2.65 commit: version bump
Brecht Van Lommel [Mon, 10 Dec 2012 10:44:08 +0000 (10:44 +0000)]
Fix shader nodes Normal node not showing right direction choosing widget.
Brecht Van Lommel [Mon, 10 Dec 2012 09:07:57 +0000 (09:07 +0000)]
CMake: fix numpy install not getting properly disabled when numpy was not found.
Campbell Barton [Mon, 10 Dec 2012 08:15:14 +0000 (08:15 +0000)]
fix for knife when clipping was enabled, The knife would not snap to edges/verts outside the clip area but the geometry would still get cut
Campbell Barton [Mon, 10 Dec 2012 07:53:20 +0000 (07:53 +0000)]
fix for knife tool when the mouse was moved outside the clipped area the mouse line would reset to 0/0/0
a few areas that use ED_view3d_win_to_segment_clip() didnt take into account the case where the segment was filly clipped, some callers even needed the segment not to be clipped.
- added ED_view3d_win_to_segment()
- ED_view3d_win_to_segment_clip() now returns FALSE if the segment is totally clipped, but the start/ends of the line are not zero'd as they were before.
Campbell Barton [Mon, 10 Dec 2012 07:20:52 +0000 (07:20 +0000)]
knife tool was incorrectly moving points into worldspace, then checking clipping against the object space bounds.
more fixes needed here but at least correct whats there.
also ensure clipping is initialized from the object before handling modal operator events.
Campbell Barton [Mon, 10 Dec 2012 06:14:43 +0000 (06:14 +0000)]
de-duplicate labda_PdistVL2Dfl() & line_point_factor_v2()
Campbell Barton [Mon, 10 Dec 2012 05:07:46 +0000 (05:07 +0000)]
some of the modal knife key bindings didn't cause a refresh until you moved the mouse. - snap, angle snap, midpoint snap.
Campbell Barton [Mon, 10 Dec 2012 02:06:26 +0000 (02:06 +0000)]
revert most of r52820 (patch to fix [#33452]), this caused a regression in text stepping when ctrl is held.
This adds back the problem that double-clicking on a single char wont select it. Double click selection may need its own logic.
Campbell Barton [Mon, 10 Dec 2012 01:37:31 +0000 (01:37 +0000)]
fix for copying markers to other scenes not working with 10 or more scenes. Regression from r34115.
Sergey Sharybin [Sun, 9 Dec 2012 17:42:36 +0000 (17:42 +0000)]
Fix for camera solver not working properly when built with scons
Campbell Barton [Sun, 9 Dec 2012 14:17:33 +0000 (14:17 +0000)]
make cppcheck run with quiet flag when QUIET env var is set, make bpy.ops.image.project_apply() only use local images.
Brecht Van Lommel [Sun, 9 Dec 2012 12:43:40 +0000 (12:43 +0000)]
Fix #33454: cycles wasn't hiding the original object used for dupliverts or
duplifaces like blender internal.
Ton Roosendaal [Sun, 9 Dec 2012 11:57:06 +0000 (11:57 +0000)]
Bugfix: softshadow in menus was broken.
Already since like 2.61 - when Array draw was added - drawing only shadow
in bottom of menus with bad looking corners.
Lukas Toenne [Sun, 9 Dec 2012 11:41:20 +0000 (11:41 +0000)]
Fix for Render Layers node: when sockets are hidden (by 'hide unused sockets' operator, ctrl+h), newly enabled render passes will not show up in the Render Layers node. The SOCK_HIDDEN flag cancels out the SOCK_UNAVAIL flag in that case. Disable the SOCK_HIDDEN flag as well when showing new passes to avoid confusion.
Ton Roosendaal [Sun, 9 Dec 2012 11:31:34 +0000 (11:31 +0000)]
Further refined the check for GCC 4.2 to not add the flag -Wuninitialized then.
Now it checks for "Not less then 4.3" because it doesnt have >= 4.3.
Campbell Barton [Sun, 9 Dec 2012 10:48:18 +0000 (10:48 +0000)]
fix [#33442] Units
adding meshes were scaling the user input values so the distance on the button didnt relate to the scale of the object added.
Now use an invoke function that scales unset default values.
Campbell Barton [Sun, 9 Dec 2012 05:18:56 +0000 (05:18 +0000)]
console auto-complete button looked silly when aligned against a menu.
Campbell Barton [Sun, 9 Dec 2012 05:15:21 +0000 (05:15 +0000)]
style cleanup
Campbell Barton [Sun, 9 Dec 2012 03:57:10 +0000 (03:57 +0000)]
patch [#33452] Double click select does not work properly + patch
from Tobias Johansson (mutze)
with some minor edits (don't treat '!' as an operator - python centric)
Antony Riakiotakis [Sun, 9 Dec 2012 01:42:26 +0000 (01:42 +0000)]
CMake:
*Remove WITH_MINGW64 option, automatically test for presence of __MINGW64__ definition instead to determine presence of MinGW32/64.
*Placeholder for LLVM libraries (Compiled locally but still crashing on render due to thread issue).
Campbell Barton [Sat, 8 Dec 2012 13:15:04 +0000 (13:15 +0000)]
bmesh toolflags would use BLI_MEMPOOL_SYSMALLOC when reducing layers only (would use MEM_mallocN in one case but malloc in another). better use blenders MEM_mallocN for both.
Campbell Barton [Sat, 8 Dec 2012 09:43:02 +0000 (09:43 +0000)]
fix [#33431] Impossible to add "None" string to a property
Campbell Barton [Sat, 8 Dec 2012 07:35:54 +0000 (07:35 +0000)]
fix [#33438] Bevel modifier "angle" mode is broken
bevel modifier was making zero area faces & edges that made scanfill fail (since it no longer removes doubles when filling ngons)
Campbell Barton [Sat, 8 Dec 2012 02:16:17 +0000 (02:16 +0000)]
update themes with update_themes.py
Campbell Barton [Sat, 8 Dec 2012 01:16:59 +0000 (01:16 +0000)]
ifdef out dynstr so mathutils can be compiled as an external module again.
Howard Trickey [Fri, 7 Dec 2012 18:45:52 +0000 (18:45 +0000)]
Bevel: fix 'causing artifacts' bug 33245.
Really was caused by a previous bevel making
a two-edged face, which caused other faces to
be dropped when copying a bmesh.
The quadstrip code needed to be more careful
to avoid creating two-edge faces.
Sergey Sharybin [Fri, 7 Dec 2012 13:47:35 +0000 (13:47 +0000)]
Camera tracking: fixed type in camera intrinsics update function
Seems to be from the very beginning here, not sure why nobody noticed this is wrong.
Brecht Van Lommel [Fri, 7 Dec 2012 11:30:40 +0000 (11:30 +0000)]
Fix missing mapping and influence panel for particles when cycles is selected
as render engine. Still missing is colors and texture slots, but that's too
tricky to fix this close to release.
Campbell Barton [Fri, 7 Dec 2012 05:27:09 +0000 (05:27 +0000)]
Add 2 documents to the python api reference.
- Blender/Python Addon Tutorial: a step by step guide on how to write an addon from scratch
- Blender/Python API Reference Usage: examples of how to use the API reference docs
Thanks to John Nyquist for editing these docs and giving feedback.
Benoit Bolsee [Thu, 6 Dec 2012 22:23:58 +0000 (22:23 +0000)]
Fix bug #33176: Deactivating both position and rotation target from iTaSC IK-Solver crashes Blender. No constraint is created for target in that case, just needed to add a check.
Campbell Barton [Thu, 6 Dec 2012 21:59:16 +0000 (21:59 +0000)]
fix for texture_slot path, would give incorrect path when used with brushes which only have one texture slot.
also quiet float/double warning.
Sergey Sharybin [Thu, 6 Dec 2012 21:08:24 +0000 (21:08 +0000)]
Fix #33433: Importing video files into movie clip editor crashes Blender
This was a regression in svn rev52718 caused by the fact that we can not
free packet fun until we've finished all manipulation with decoded frame
since frame and packet could share same pointers.
For now restored old behavior of next_packet which seems to be well
tested and better not do bigger refactoring here so close to release.
Memory leak fixed by that revision was fixed by calling av_free_packet
just before avcodec_decode_video2 in cases we're at the end of file.
Tested with valgrind and could not see any memory leaks in ffmpeg
area.
Sergey Sharybin [Thu, 6 Dec 2012 16:18:35 +0000 (16:18 +0000)]
Disable multisamples on windows for intel cards
This doesn't work nice currently and there's no simple workaround for this,
it'll require lots of statistics about cards and some further investigation
on supported combination of draw methods and multisamples supports.
For the release better be more stable and do not deliver dangerous option.
Brecht Van Lommel [Thu, 6 Dec 2012 09:13:57 +0000 (09:13 +0000)]
Fix mapping node min/max not working OSL.
Campbell Barton [Thu, 6 Dec 2012 08:10:24 +0000 (08:10 +0000)]
fix [#31084] Dynamic Paint Blender File Crashes Blender.
was incorrect assert which didnt consider having no faces.
Brecht Van Lommel [Thu, 6 Dec 2012 06:13:43 +0000 (06:13 +0000)]
Fix #33421: collada import of a mesh with loose edges did not draw the edges in the viewport.
Campbell Barton [Thu, 6 Dec 2012 06:01:15 +0000 (06:01 +0000)]
fix playanim - up/down keys were not stepping 10 frames as intended.
Brecht Van Lommel [Thu, 6 Dec 2012 05:48:51 +0000 (05:48 +0000)]
Fix #33423: a few operators still allowed changing current frame during
animation render, like cursor set in the graph editor, disabled that now.
Campbell Barton [Thu, 6 Dec 2012 03:09:06 +0000 (03:09 +0000)]
bpy.ops module/caller classes incorrectly had __keys__ rather then __slots__.
also added comments about texface drawing when theres no origindex.
Campbell Barton [Thu, 6 Dec 2012 02:42:42 +0000 (02:42 +0000)]
bump python requirement to 3.3
Campbell Barton [Thu, 6 Dec 2012 02:38:39 +0000 (02:38 +0000)]
fix [#33422] Change Path/Files problem - selected strip directory doesn't work
Sergey Sharybin [Wed, 5 Dec 2012 19:04:29 +0000 (19:04 +0000)]
Fix #33419: incorrect color with projection painting in cases strength != 1.0
Miika Hamalainen [Wed, 5 Dec 2012 17:58:24 +0000 (17:58 +0000)]
Fix #33411: Smoke simulator using uninitialized noise tile
If loading an existing FFT noise tile failed the tile in memory was left uninitialized.
Brecht Van Lommel [Wed, 5 Dec 2012 15:46:31 +0000 (15:46 +0000)]
Fix #33411: crash baking smoke with FFT high resolution.
CMake had FFTW disabled by default, and when FFTW was not enabled it lead to
uninitialized memory usage. Now it falls back to wavelet if there is no FFTW,
and I've enabled it by default in CMake. If it's not found on Linux it will get
disabled automatically.
Sergey Sharybin [Wed, 5 Dec 2012 14:27:51 +0000 (14:27 +0000)]
Fix for crop operation using uninitialized bounds in cases input image resolution is zero.
Bastien Montagne [Wed, 5 Dec 2012 11:58:38 +0000 (11:58 +0000)]
Make installation of some libs off by default (use --with-all option to re-enable them). Currently affected libs:
*libspnav
*liblame
*libjack
*libscrhoedinger
*libvpx
*libxvid
Brecht Van Lommel [Wed, 5 Dec 2012 11:46:13 +0000 (11:46 +0000)]
Fix #33417: add back GPU Mipmap Generation option, apparently with this disabled
it takes up less memory on some cards, still unclear why.
Brecht Van Lommel [Wed, 5 Dec 2012 06:30:17 +0000 (06:30 +0000)]
Fix crash opening some .blend files on OS X 10.8 with double click or drag and
drop onto the application.
It seems something changed in the operating which makes our method of releasing
windows crash. Previously we called [m_window release], but on 10.8 this does
not remove the window from [NSApp orderedWindows] and perhaps other places,
leading to crashes. So instead we set setReleasedWhenClosed back to YES right
before closing, which will then do the cleanup for us.
Campbell Barton [Wed, 5 Dec 2012 03:38:01 +0000 (03:38 +0000)]
pydna experimental ctypes DNA api was broken with more recent python versions, and some minor doc edits.
Campbell Barton [Wed, 5 Dec 2012 01:02:41 +0000 (01:02 +0000)]
add a message when solidify is used with only-edges, this isn't properly supported.
also minor edits to py-api-ref
-- This line, and those below, will be ignored--
M doc/python_api/sphinx_doc_gen.py
M doc/python_api/rst/include__bmesh.rst
M source/blender/modifiers/intern/MOD_solidify.c
Bastien Montagne [Tue, 4 Dec 2012 22:03:39 +0000 (22:03 +0000)]
Can't stress how much I hate bash... This should fix a bug with version comparison (at least under fedora, debian looked OK :/ ).
Campbell Barton [Tue, 4 Dec 2012 20:09:07 +0000 (20:09 +0000)]
update parse_syntax_error() from python3.3 - this is an internal python function that isn't exposed to the api.
Campbell Barton [Tue, 4 Dec 2012 19:58:13 +0000 (19:58 +0000)]
fix for python button evaluation not restoring the __main__ module.
Campbell Barton [Tue, 4 Dec 2012 18:22:41 +0000 (18:22 +0000)]
operator spacebar search menu wasn't ignoring internal operators,
turns out there were copy-pasted functions for operator search popups which were identical except that one skipped internal ops.
de-duplicate so both work the same now.
Campbell Barton [Tue, 4 Dec 2012 17:54:32 +0000 (17:54 +0000)]
disable numpy warning with cmake, since we didnt end up bundling this with blender yet.
Campbell Barton [Tue, 4 Dec 2012 17:38:55 +0000 (17:38 +0000)]
fix [#33412] Jump to next frame broken in grease pencil mode
allow arrow keys while in grease pencil session, otherwise you can't change frames.
also correct out-of-date comments.
Campbell Barton [Tue, 4 Dec 2012 15:28:34 +0000 (15:28 +0000)]
bevel - use tri-fan filling in the special case when a bevel edge meets a non bevel edge at a valence 2 vert.
this is the topology tri-fan was intended to be used.
Campbell Barton [Tue, 4 Dec 2012 14:43:42 +0000 (14:43 +0000)]
cmake was missing some header files.
Campbell Barton [Tue, 4 Dec 2012 14:41:40 +0000 (14:41 +0000)]
bevel: re-order checks so angle checks are done after quick sanity checks.
Campbell Barton [Tue, 4 Dec 2012 12:41:59 +0000 (12:41 +0000)]
fix for WM_keymap_remove_item() writing to freed memory.
Campbell Barton [Tue, 4 Dec 2012 11:21:33 +0000 (11:21 +0000)]
fix for typo when overwriting pythons stdout/stderr, also print errors if they happen here now.
Sergey Sharybin [Tue, 4 Dec 2012 09:45:38 +0000 (09:45 +0000)]
Default PNG compression for new scenes is not 90% (same as default scene)
Sergey Sharybin [Tue, 4 Dec 2012 09:07:44 +0000 (09:07 +0000)]
Fix for double-freeing image buffers when rendering opengl animation into movie file.
Konrad Kleine [Tue, 4 Dec 2012 08:40:24 +0000 (08:40 +0000)]
FIX: OSL mix shader clamps 2nd color component to 3rd one.
Previously the OSL Mix shader node was clamping the 2nd color component (green) to the 3rd color component (blue). Now every component is clamped on its own.
Sergey Sharybin [Tue, 4 Dec 2012 08:10:53 +0000 (08:10 +0000)]
Fix #33402: Compositor crashes when drag-dropping multilayer exr
There was a missing image reload signal in node creation by drag-dropping,
which lead to incorrectly set image type.
Also fixed misusage of IMB_freeImBuf used to release buffer acquired by
BKE_image_acquire_ibuf.
Brecht Van Lommel [Tue, 4 Dec 2012 07:48:09 +0000 (07:48 +0000)]
Fix #33405: preview render getting stuck in a particular .blend file, ObjectKey
operator< had wrong brackets, changed it now to be more clear.
Fix #33404: crash GPU rendering with OSL option still enabled. There was a check
to disable OSL in this case, but it shouldn't have modified scene->params because
this is used for comparison in scene->modified().
Campbell Barton [Tue, 4 Dec 2012 03:18:08 +0000 (03:18 +0000)]
osl style cleanup and update man-page.
Bastien Montagne [Mon, 3 Dec 2012 17:53:01 +0000 (17:53 +0000)]
Add libjeack0 as (Debian and co) dep.
Also add --skip-foo args to command line.
Bastien Montagne [Mon, 3 Dec 2012 17:22:52 +0000 (17:22 +0000)]
Exit when package manager fails (exit status >= 1).
Brecht Van Lommel [Mon, 3 Dec 2012 16:51:05 +0000 (16:51 +0000)]
Fix scons not installing closure/ directory for runtime compiles of CUDA kernel.
Sergey Sharybin [Mon, 3 Dec 2012 16:47:38 +0000 (16:47 +0000)]
Fix #33398: Missed undo push when script execution failed
Undo push was missed in cases when script failed to run with some error
when using Run Script in text editor. As far as i can see it makes sense
to skip undo push here only in cases live editing is enabled.
Otherwise it's indeed annoying to return to previous scene state when
debugging the script.
Brecht Van Lommel [Mon, 3 Dec 2012 16:21:43 +0000 (16:21 +0000)]
Fix cycles viewport render getting stuck with driven/animated nodes, the updated
flag would not get cleared due to the nodetree not being a real datablock.
Sergey Sharybin [Mon, 3 Dec 2012 16:19:38 +0000 (16:19 +0000)]
Disable alpha pass for all painting modes
It's not actually supported and gives artifacts when tried to be used.
Campbell Barton [Mon, 3 Dec 2012 15:09:33 +0000 (15:09 +0000)]
fix [#33400] Knife ortho floating point error
the green dot under the mouse would not draw under the mouse when clipping values were high (1000+) - which is common.
use a different method which doesnt give these problems.
Bastien Montagne [Mon, 3 Dec 2012 14:12:40 +0000 (14:12 +0000)]
Cleaning commented code in DM_update_weight_mcol (inactive since two releases at least...).
Campbell Barton [Mon, 3 Dec 2012 13:58:08 +0000 (13:58 +0000)]
quiet float -> double conversion warnings and do some osl style edits.
Bastien Montagne [Mon, 3 Dec 2012 13:28:35 +0000 (13:28 +0000)]
Add --force-all option to force rebuild of all built libraries.
Bastien Montagne [Mon, 3 Dec 2012 13:07:43 +0000 (13:07 +0000)]
Fix for [#33378] Grease pencil dopesheet fails on a few operations
Snapping operator in action editor for grease pencil and mask wasn't implemented. We could probably re-enabled/fix/cleanup more things in this area (e.g. use a custom poll func for operators not supporting gp/mask, instead of silently doing nothing), but this is for after 2.65 imho).
Campbell Barton [Mon, 3 Dec 2012 13:01:07 +0000 (13:01 +0000)]
R/G/B icons in node space backgroud channel selector all had same color wheel icon which didnt make much sense.
Brecht Van Lommel [Mon, 3 Dec 2012 12:21:44 +0000 (12:21 +0000)]
Fix cycles issue when NaN is used for RGB ramp, can access array out of bounds then.
OSL noise() function is generating NaN's in certain cases, fix for that goes to our
OSL branch.
Also add missing minimum weight and max closure checks to OSL, forgot to add these
when fixing another bug.
Bastien Montagne [Mon, 3 Dec 2012 12:04:15 +0000 (12:04 +0000)]
Add exhaustive command line options description in --help message...
Thomas Dinges [Mon, 3 Dec 2012 12:03:16 +0000 (12:03 +0000)]
Image Editor / UV:
* Bring back "Snap to Vertex", own regression introduced in r39460.
Patch by Brecht (DNA, Transform) and myself (RNA, Script).
Campbell Barton [Mon, 3 Dec 2012 10:01:09 +0000 (10:01 +0000)]
re-apply a workaround for [#31555] Username with special chars in Windows 7
this time keep the stderr/stdout so there FD's are not closed (causing [#32720]).
This workaround is ugly but saves us from using a patched python.
Bastien Montagne [Mon, 3 Dec 2012 09:36:22 +0000 (09:36 +0000)]
Tsss tsss... Copy-pasting! :P
Campbell Barton [Mon, 3 Dec 2012 09:08:53 +0000 (09:08 +0000)]
fix [#33394] Skin modifier doesn't show generated skin mesh in EditMode with Texured Solid draw option
Bastien Montagne [Mon, 3 Dec 2012 08:37:43 +0000 (08:37 +0000)]
Minor fix for "no mask keyframe copy" error message in dopesheet editor...
Brecht Van Lommel [Mon, 3 Dec 2012 08:31:16 +0000 (08:31 +0000)]
Fix #33371: blender freezing in material draw mode.
When FBO failed in a particular way it could cause the opengl draw buffer to be
set wrong, effectively disabling all opengl drawing. The FBO error was caused
by cycles GLSL materials with no nodes that would still use blender internal
materials, which caused issues with lamp shadow buffers FBO.
This also fixes a GLSL refresh issue when switching render engines.
Campbell Barton [Mon, 3 Dec 2012 08:11:04 +0000 (08:11 +0000)]
revert part of r52720, Id rather leave these as-is, even if they give warnings under some configurations.
Campbell Barton [Mon, 3 Dec 2012 07:10:31 +0000 (07:10 +0000)]
fix [#33389] Curve points restricted to 0..1 range,
also added note on python3.3's faulthandler module.
Campbell Barton [Mon, 3 Dec 2012 05:40:48 +0000 (05:40 +0000)]
fix [#33392] In-dev freeway generation addon crashes on recent builds.
Campbell Barton [Mon, 3 Dec 2012 05:38:28 +0000 (05:38 +0000)]
use const for bm_mesh_allocsize_default, bm_mesh_chunksize_default
Campbell Barton [Mon, 3 Dec 2012 05:02:32 +0000 (05:02 +0000)]
bridge tool - simple optimization, break early if edge loop length comparisons are worse then existing best loop test.
Campbell Barton [Mon, 3 Dec 2012 04:53:30 +0000 (04:53 +0000)]
fix [#33391] Bridge two Edgeloops fails in simple case