blender.git
6 years agoSequencer: add textured solid option for opengl preview
Sergey Sharybin [Wed, 12 Dec 2012 12:42:12 +0000 (12:42 +0000)]
Sequencer: add textured solid option for opengl preview

6 years agouse header only tags for edge split (to prepare to move this into tools/)
Campbell Barton [Wed, 12 Dec 2012 12:29:37 +0000 (12:29 +0000)]
use header only tags for edge split (to prepare to move this into tools/)

6 years agoRevert recent workaround for sequencer, it'll only work in cases
Sergey Sharybin [Wed, 12 Dec 2012 12:23:30 +0000 (12:23 +0000)]
Revert recent workaround for sequencer, it'll only work in cases
scene strip is added at frame 1, which is very limited usecase.

Proper solution is not possible yet..

6 years agoBug fix [#33492] Right click on 'confirm reload' crashes
Ton Roosendaal [Wed, 12 Dec 2012 12:18:29 +0000 (12:18 +0000)]
Bug fix [#33492] Right click on 'confirm reload' crashes

Context check could result in NULL - added provision for it and made
sure the check is local only (for 1 new option)

6 years agoSequencer old todo: inserting keyframes with preview opened didn't work
Sergey Sharybin [Wed, 12 Dec 2012 11:12:37 +0000 (11:12 +0000)]
Sequencer old todo: inserting keyframes with preview opened didn't work

Solved in more like a workaround way by not calling BKE_scene_update_for_newframe
if scene's frame didn't change.

6 years agoUse own list of actions for Vertex Group Lock operator instead of reusing Select...
Sv. Lockal [Wed, 12 Dec 2012 10:21:24 +0000 (10:21 +0000)]
Use own list of actions for Vertex Group Lock operator instead of reusing Select All actions.

Previous actions and descriptions were confusing, e. g. UnLock All used the description of Deselect All.

6 years agorevert recent code cleanup which introduced const parameters
Gaia Clary [Wed, 12 Dec 2012 09:49:05 +0000 (09:49 +0000)]
revert recent code cleanup which introduced const parameters

6 years agoFix #33486: cycles CPU image textures were offset wrong by half a pixel compared
Brecht Van Lommel [Wed, 12 Dec 2012 09:17:21 +0000 (09:17 +0000)]
Fix #33486: cycles CPU image textures were offset wrong by half a pixel compared
to OpenGL/CUDA/OSL rendering.

6 years agofix for EDBM_index_arrays_ensure not working as intended.
Campbell Barton [Wed, 12 Dec 2012 07:31:22 +0000 (07:31 +0000)]
fix for EDBM_index_arrays_ensure not working as intended.

6 years agoadd threshold for bmesh & openmp so its not used with low poly meshes, BM_OMP_LIMIT...
Campbell Barton [Wed, 12 Dec 2012 07:20:34 +0000 (07:20 +0000)]
add threshold for bmesh & openmp so its not used with low poly meshes, BM_OMP_LIMIT may need tweaking.

6 years agoadd destructive argument to bmesh.update_edit_mesh()
Campbell Barton [Wed, 12 Dec 2012 06:57:41 +0000 (06:57 +0000)]
add destructive argument to bmesh.update_edit_mesh()

6 years agomake EDBM_index_arrays's stay in memory, blender was allocating an array and filling...
Campbell Barton [Wed, 12 Dec 2012 06:53:39 +0000 (06:53 +0000)]
make EDBM_index_arrays's stay in memory, blender was allocating an array and filling it for verts/edges/faces on every redraw.

this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use.

in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.

6 years agoFix #33485: cycles OSL now autodetects the presence of emission and transparent
Brecht Van Lommel [Wed, 12 Dec 2012 06:51:06 +0000 (06:51 +0000)]
Fix #33485: cycles OSL now autodetects the presence of emission and transparent
closures to enable multiple importance sampling and transparent shadows.

6 years agouse htype flags as arguments to EDBM_index_arrays_init(), no functional changes.
Campbell Barton [Wed, 12 Dec 2012 05:27:52 +0000 (05:27 +0000)]
use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.

6 years agouse openmp to thread some common bmesh operations
Campbell Barton [Wed, 12 Dec 2012 05:04:01 +0000 (05:04 +0000)]
use openmp to thread some common bmesh operations
- BM_mesh_elem_toolflags_ensure / bmo_flag_layer_alloc / bmo_flag_layer_free / bmo_flag_layer_clear
- BM_mesh_select_flush
- EDBM_index_arrays_init

notes:
- mostly use openmp `sections` to split operations on vert/edge/face since this is a fairly minor change.
- split tool flag pool in 3, this means we can allocate exact sizes needed and iterate on them in threads without alloc'ing.

6 years agoassert in debug builds if MEM_ alloc's are called in openmp threads.
Campbell Barton [Wed, 12 Dec 2012 04:41:23 +0000 (04:41 +0000)]
assert in debug builds if MEM_ alloc's are called in openmp threads.
note: the caller can do locking to prevent errors - but this isn't being done in blender yet, so this prevents accidental allocs in openmp for now.

6 years agoreplace BLI_array_declare with BLI_array_staticdeclare() and BLI_array_alloca() for...
Campbell Barton [Wed, 12 Dec 2012 02:48:03 +0000 (02:48 +0000)]
replace BLI_array_declare with BLI_array_staticdeclare() and BLI_array_alloca() for smaller arrays.

6 years agoFix for cloth/smoke: Collision and flow objects always had to be on the same layer.
Daniel Genrich [Tue, 11 Dec 2012 20:39:54 +0000 (20:39 +0000)]
Fix for cloth/smoke: Collision and flow objects always had to be on the same layer.

Reported and patch by MiikaH

6 years agoInstall dependencies used to always mark schro as used for suse.
Sergey Sharybin [Tue, 11 Dec 2012 19:45:16 +0000 (19:45 +0000)]
Install dependencies used to always mark schro as used for suse.
Now it should respect all features option.

Also removed some duplicated entries.

6 years agoOSL Shader Files:
Thomas Dinges [Tue, 11 Dec 2012 16:06:03 +0000 (16:06 +0000)]
OSL Shader Files:
* Simplify default color values, where each component was the same.
* Initialize closures as Null Closure, rather than assigning an existing closure, gets overwritten anyways.

6 years agochange to r52888, since we dont always want ED_view3d_offset_distance() to give a...
Campbell Barton [Tue, 11 Dec 2012 15:56:11 +0000 (15:56 +0000)]
change to r52888, since we dont always want ED_view3d_offset_distance() to give a corrected value, instead pass a fallback so callers don't allow zero by accident.

6 years agofix for building with msvc
Campbell Barton [Tue, 11 Dec 2012 15:29:08 +0000 (15:29 +0000)]
fix for building with msvc

6 years agoimage stamp data's strings could be short enough not to fit the entire ID name length.
Campbell Barton [Tue, 11 Dec 2012 15:14:35 +0000 (15:14 +0000)]
image stamp data's strings could be short enough not to fit the entire ID name length.

6 years agoreplace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() which uses...
Campbell Barton [Tue, 11 Dec 2012 15:10:19 +0000 (15:10 +0000)]
replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() which uses stack memory always and doesn't need to be freed explicitly.

6 years agofix for warnings/errors in recent commits
Campbell Barton [Tue, 11 Dec 2012 15:06:51 +0000 (15:06 +0000)]
fix for warnings/errors in recent commits

6 years agoBug fix, irc report:
Ton Roosendaal [Tue, 11 Dec 2012 14:45:38 +0000 (14:45 +0000)]
Bug fix, irc report:

When camera is the pivot of 3d window, and you go to camera view, moving out of
view with MMB drag causes zooming to stop working. Zooms depend on view3d "dist"
value, which then became zero.

This fix just makes dist "1.0" then, arbitrary but keeps things at least work.
(Tried restoring to previous 'dist', but this fails in cases too)

6 years agoCycles OSL: add diffuse_ramp closure in addition to phong_ramp.
Brecht Van Lommel [Tue, 11 Dec 2012 14:39:41 +0000 (14:39 +0000)]
Cycles OSL: add diffuse_ramp closure in addition to phong_ramp.

6 years agoCycles: RGB and Vector Curves nodes now supported, with the limitation that the
Brecht Van Lommel [Tue, 11 Dec 2012 14:39:37 +0000 (14:39 +0000)]
Cycles: RGB and Vector Curves nodes now supported, with the limitation that the
range must be left to the default (0..1 and -1..1).

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