blender.git
6 years agoCycles: trick to make building with OSL trunk work as well, it has a different
Brecht Van Lommel [Tue, 11 Dec 2012 14:39:32 +0000 (14:39 +0000)]
Cycles: trick to make building with OSL trunk work as well, it has a different
name for LoadMemoryShader so we make it call the right name depending on which
is available.

6 years agoRNA: add Window x/y position and size access.
Brecht Van Lommel [Tue, 11 Dec 2012 14:39:30 +0000 (14:39 +0000)]
RNA: add Window x/y position and size access.

6 years agoFix issue reported in #32174: IK solver stretch was less stable after a code refactor
Brecht Van Lommel [Tue, 11 Dec 2012 14:39:28 +0000 (14:39 +0000)]
Fix issue reported in #32174: IK solver stretch was less stable after a code refactor
commit, epsilon was supposed to be 0.01 instead of 0.001.

6 years agoFix OS X warning on startup about using deprecated function, when building against...
Brecht Van Lommel [Tue, 11 Dec 2012 14:39:26 +0000 (14:39 +0000)]
Fix OS X warning on startup about using deprecated function, when building against 10.8 SDK.

6 years agominor speedup - replace use of smallhash with api_flags for BM_edge_split()
Campbell Barton [Tue, 11 Dec 2012 14:30:12 +0000 (14:30 +0000)]
minor speedup - replace use of smallhash with api_flags for BM_edge_split()

6 years agodefine the size of matrix args for both rows/cols.
Campbell Barton [Tue, 11 Dec 2012 14:29:01 +0000 (14:29 +0000)]
define the size of matrix args for both rows/cols.

6 years agoown cleanup commit in bmesh branch - removed last letters from ends of some comments.
Campbell Barton [Tue, 11 Dec 2012 14:24:27 +0000 (14:24 +0000)]
own cleanup commit in bmesh branch - removed last letters from ends of some comments.

6 years agowas using max short on a float in EDBM_face_find_nearest()
Campbell Barton [Tue, 11 Dec 2012 14:21:52 +0000 (14:21 +0000)]
was using max short on a float in EDBM_face_find_nearest()

6 years agouse const char for display device
Campbell Barton [Tue, 11 Dec 2012 14:20:29 +0000 (14:20 +0000)]
use const char for display device

6 years agocode cleanup: neareast -> nearest
Campbell Barton [Tue, 11 Dec 2012 14:19:41 +0000 (14:19 +0000)]
code cleanup: neareast -> nearest

6 years agocode cleanup: spelling labda -> lambda
Campbell Barton [Tue, 11 Dec 2012 14:18:37 +0000 (14:18 +0000)]
code cleanup: spelling labda -> lambda

6 years agoFix some RNA subtypes for collections' active/active_index props (some PROP_POINTER...
Bastien Montagne [Tue, 11 Dec 2012 14:11:46 +0000 (14:11 +0000)]
Fix some RNA subtypes for collections' active/active_index props (some PROP_POINTER had PROP_UNSIGNED!). Harmless, but stupid ;)

6 years agoswitch BLI_ghashutil_strhash() to "djb" hash (as used by glib),
Campbell Barton [Tue, 11 Dec 2012 13:57:58 +0000 (13:57 +0000)]
switch BLI_ghashutil_strhash() to "djb" hash (as used by glib),

Gives approx 10% speedup in my own micro-benchmark looking up operators.

6 years agounfreeze blender, back to bcon1
Campbell Barton [Tue, 11 Dec 2012 13:56:01 +0000 (13:56 +0000)]
unfreeze blender, back to bcon1

6 years agoBugfix [#33467] Fluid Simulations Speed factor animated wrong result
Daniel Genrich [Tue, 11 Dec 2012 13:02:42 +0000 (13:02 +0000)]
Bugfix [#33467] Fluid Simulations Speed factor animated wrong result

Thanks to Brecht for providing a patch and example blend.
I changed and extended it a bit since there was another bug in that loop.

6 years agoFix #33476: cycles environment texture not showing image sequence options properly.
Brecht Van Lommel [Tue, 11 Dec 2012 11:22:51 +0000 (11:22 +0000)]
Fix #33476: cycles environment texture not showing image sequence options properly.

6 years agoOSL install deps script: set STOP_ON_WARNING to OFF to disable -Werror.
Brecht Van Lommel [Tue, 11 Dec 2012 08:13:56 +0000 (08:13 +0000)]
OSL install deps script: set STOP_ON_WARNING to OFF to disable -Werror.

6 years agoFix game player still not using fast GPU mipmap generation, user preferencs
Brecht Van Lommel [Tue, 11 Dec 2012 08:01:16 +0000 (08:01 +0000)]
Fix game player still not using fast GPU mipmap generation, user preferencs
are not actually used here.

6 years agoSplash template XCF file for Gimp.
Brecht Van Lommel [Tue, 11 Dec 2012 08:01:05 +0000 (08:01 +0000)]
Splash template XCF file for Gimp.

6 years agocmake wouldn't build since it was missing files added in r52858.
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.

6 years agoupdate api changelog
Campbell Barton [Tue, 11 Dec 2012 02:13:42 +0000 (02:13 +0000)]
update api changelog

6 years agoAudaspace:
Joerg Mueller [Mon, 10 Dec 2012 16:58:47 +0000 (16:58 +0000)]
Audaspace:
Implemented forgotten Calculator classes from boost migration.

6 years agoFix for maya keymap
Sergey Sharybin [Mon, 10 Dec 2012 14:06:57 +0000 (14:06 +0000)]
Fix for maya keymap

6 years agoSplash screen for 2.65, created by Jordan Schur.
Brecht Van Lommel [Mon, 10 Dec 2012 14:01:08 +0000 (14:01 +0000)]
Splash screen for 2.65, created by Jordan Schur.

6 years agoFix cycles OSL + AO enabled in world settings not working correct.
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.

6 years ago2.65 commit: version bump
Sergey Sharybin [Mon, 10 Dec 2012 11:01:13 +0000 (11:01 +0000)]
2.65 commit: version bump

6 years agoFix shader nodes Normal node not showing right direction choosing widget.
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.

6 years agoCMake: fix numpy install not getting properly disabled when numpy was not found.
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.

6 years agofix for knife when clipping was enabled, The knife would not snap to edges/verts...
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

6 years agofix for knife tool when the mouse was moved outside the clipped area the mouse line...
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.

6 years agoknife tool was incorrectly moving points into worldspace, then checking clipping...
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.

6 years agode-duplicate labda_PdistVL2Dfl() & line_point_factor_v2()
Campbell Barton [Mon, 10 Dec 2012 06:14:43 +0000 (06:14 +0000)]
de-duplicate labda_PdistVL2Dfl() & line_point_factor_v2()

6 years agosome of the modal knife key bindings didn't cause a refresh until you moved the mouse...
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.

6 years agorevert most of r52820 (patch to fix [#33452]), this caused a regression in text stepp...
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.

6 years agofix for copying markers to other scenes not working with 10 or more scenes. Regressio...
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.

6 years agoFix for camera solver not working properly when built with scons
Sergey Sharybin [Sun, 9 Dec 2012 17:42:36 +0000 (17:42 +0000)]
Fix for camera solver not working properly when built with scons

6 years agomake cppcheck run with quiet flag when QUIET env var is set, make bpy.ops.image.proje...
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.

6 years agoFix #33454: cycles wasn't hiding the original object used for dupliverts or
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.

6 years agoBugfix: softshadow in menus was broken.
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.

6 years agoFix for Render Layers node: when sockets are hidden (by 'hide unused sockets' operato...
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.

6 years agoFurther refined the check for GCC 4.2 to not add the flag -Wuninitialized then.
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.

6 years agofix [#33442] Units
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.

6 years agoconsole auto-complete button looked silly when aligned against a menu.
Campbell Barton [Sun, 9 Dec 2012 05:18:56 +0000 (05:18 +0000)]
console auto-complete button looked silly when aligned against a menu.

6 years agostyle cleanup
Campbell Barton [Sun, 9 Dec 2012 05:15:21 +0000 (05:15 +0000)]
style cleanup

6 years agopatch [#33452] Double click select does not work properly + patch
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)

6 years agoCMake:
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).

6 years agobmesh toolflags would use BLI_MEMPOOL_SYSMALLOC when reducing layers only (would...
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.

6 years agofix [#33431] Impossible to add "None" string to a property
Campbell Barton [Sat, 8 Dec 2012 09:43:02 +0000 (09:43 +0000)]
fix [#33431] Impossible to add "None" string to a property

6 years agofix [#33438] Bevel modifier "angle" mode is broken
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)

6 years agoupdate themes with update_themes.py
Campbell Barton [Sat, 8 Dec 2012 02:16:17 +0000 (02:16 +0000)]
update themes with update_themes.py

6 years agoifdef out dynstr so mathutils can be compiled as an external module again.
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.

6 years agoBevel: fix 'causing artifacts' bug 33245.
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.

6 years agoCamera tracking: fixed type in camera intrinsics update function
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.

6 years agoFix missing mapping and influence panel for particles when cycles is selected
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.

6 years agoAdd 2 documents to the python api reference.
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.

6 years agoFix bug #33176: Deactivating both position and rotation target from iTaSC IK-Solver...
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.

6 years agofix for texture_slot path, would give incorrect path when used with brushes which...
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.

6 years agoFix #33433: Importing video files into movie clip editor crashes Blender
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.

6 years agoDisable multisamples on windows for intel cards
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.

6 years agoFix mapping node min/max not working OSL.
Brecht Van Lommel [Thu, 6 Dec 2012 09:13:57 +0000 (09:13 +0000)]
Fix mapping node min/max not working OSL.

6 years agofix [#31084] Dynamic Paint Blender File Crashes Blender.
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.

6 years agoFix #33421: collada import of a mesh with loose edges did not draw the edges in the...
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.

6 years agofix playanim - up/down keys were not stepping 10 frames as intended.
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.

6 years agoFix #33423: a few operators still allowed changing current frame during
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.

6 years agobpy.ops module/caller classes incorrectly had __keys__ rather then __slots__.
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.

6 years agobump python requirement to 3.3
Campbell Barton [Thu, 6 Dec 2012 02:42:42 +0000 (02:42 +0000)]
bump python requirement to 3.3

6 years agofix [#33422] Change Path/Files problem - selected strip directory doesn't work
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

6 years agoFix #33419: incorrect color with projection painting in cases strength != 1.0
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

6 years agoFix #33411: Smoke simulator using uninitialized noise tile
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.

6 years agoFix #33411: crash baking smoke with FFT high resolution.
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.

6 years agoFix for crop operation using uninitialized bounds in cases input image resolution...
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.

6 years agoMake installation of some libs off by default (use --with-all option to re-enable...
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

6 years agoFix #33417: add back GPU Mipmap Generation option, apparently with this disabled
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.

6 years agoFix crash opening some .blend files on OS X 10.8 with double click or drag and
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.

6 years agopydna experimental ctypes DNA api was broken with more recent python versions, and...
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.

6 years agoadd a message when solidify is used with only-edges, this isn't properly supported.
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

6 years agoCan't stress how much I hate bash... This should fix a bug with version comparison...
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 :/ ).

6 years agoupdate parse_syntax_error() from python3.3 - this is an internal python function...
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.

6 years agofix for python button evaluation not restoring the __main__ module.
Campbell Barton [Tue, 4 Dec 2012 19:58:13 +0000 (19:58 +0000)]
fix for python button evaluation not restoring the __main__ module.

6 years agooperator spacebar search menu wasn't ignoring internal operators,
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.

6 years agodisable numpy warning with cmake, since we didnt end up bundling this with blender...
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.

6 years agofix [#33412] Jump to next frame broken in grease pencil mode
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.

6 years agobevel - use tri-fan filling in the special case when a bevel edge meets a non bevel...
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.

6 years agocmake was missing some header files.
Campbell Barton [Tue, 4 Dec 2012 14:43:42 +0000 (14:43 +0000)]
cmake was missing some header files.

6 years agobevel: re-order checks so angle checks are done after quick sanity checks.
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.

6 years agofix for WM_keymap_remove_item() writing to freed memory.
Campbell Barton [Tue, 4 Dec 2012 12:41:59 +0000 (12:41 +0000)]
fix for WM_keymap_remove_item() writing to freed memory.

6 years agofix for typo when overwriting pythons stdout/stderr, also print errors if they happen...
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.

6 years agoDefault PNG compression for new scenes is not 90% (same as default scene)
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)

6 years agoFix for double-freeing image buffers when rendering opengl animation into movie file.
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.

6 years agoFIX: OSL mix shader clamps 2nd color component to 3rd one.
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.

6 years agoFix #33402: Compositor crashes when drag-dropping multilayer exr
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.

6 years agoFix #33405: preview render getting stuck in a particular .blend file, ObjectKey
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().

6 years agoosl style cleanup and update man-page.
Campbell Barton [Tue, 4 Dec 2012 03:18:08 +0000 (03:18 +0000)]
osl style cleanup and update man-page.

6 years agoAdd libjeack0 as (Debian and co) dep.
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.

6 years agoExit when package manager fails (exit status >= 1).
Bastien Montagne [Mon, 3 Dec 2012 17:22:52 +0000 (17:22 +0000)]
Exit when package manager fails (exit status >= 1).

6 years agoFix scons not installing closure/ directory for runtime compiles of CUDA kernel.
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.

6 years agoFix #33398: Missed undo push when script execution failed
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.

6 years agoFix cycles viewport render getting stuck with driven/animated nodes, the updated
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.

6 years agoDisable alpha pass for all painting modes
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.

6 years agofix [#33400] Knife ortho floating point error
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.