9 years agoOSX/cmake: fix ndof compile
Jens Verwiebe [Wed, 12 Dec 2012 18:31:19 +0000 (18:31 +0000)]
OSX/cmake: fix ndof compile

9 years agoRNA properties for width and height of nodes.
Lukas Toenne [Wed, 12 Dec 2012 17:50:44 +0000 (17:50 +0000)]
RNA properties for width and height of nodes.

Note: For most node types the height is determined automatically.
Note2: There are two independent width values, one for regular nodes and one for the collapsed ("hidden") state.

9 years agoFix for range checks in generated RNA functions. The code was skipping the value...
Lukas Toenne [Wed, 12 Dec 2012 17:50:35 +0000 (17:50 +0000)]
Fix for range checks in generated RNA functions. The code was skipping the value clamping for float and int properties if using the min/max values of the respective number format, but not taking into account range callbacks of the property.

9 years agoFix error compiling in debug build, should test #ifndef NDEBUG instead of
Brecht Van Lommel [Wed, 12 Dec 2012 16:51:05 +0000 (16:51 +0000)]
Fix error compiling in debug build, should test #ifndef NDEBUG instead of

9 years agofix for another crash in r52911
Campbell Barton [Wed, 12 Dec 2012 16:39:16 +0000 (16:39 +0000)]
fix for another crash in r52911

9 years agoedge slide: skip creating BMBVHTree when its not used.
Campbell Barton [Wed, 12 Dec 2012 16:32:05 +0000 (16:32 +0000)]
edge slide: skip creating BMBVHTree when its not used.

9 years agostyle cleanup: also change node selection method not to compare nodes a lot.
Campbell Barton [Wed, 12 Dec 2012 15:41:15 +0000 (15:41 +0000)]
style cleanup: also change node selection method not to compare nodes a lot.

9 years agoremove context argument from EDBM_update_generic()
Campbell Barton [Wed, 12 Dec 2012 15:22:54 +0000 (15:22 +0000)]
remove context argument from EDBM_update_generic()

9 years agofix for crash in own commit r52911
Campbell Barton [Wed, 12 Dec 2012 15:01:27 +0000 (15:01 +0000)]
fix for crash in own commit r52911

9 years agoFix related to #33480: for blender internal volume rendering, the camera inside
Brecht Van Lommel [Wed, 12 Dec 2012 14:43:11 +0000 (14:43 +0000)]
Fix related to #33480: for blender internal volume rendering, the camera inside
volume wasn't accurate, it still isn't quite but hopefully a bit better by
taking clip start into account.

With clip start it's actually impossible to do a single 'inside' test, since
there will not be a single point where all camera rays start from, though for
small clip start they will be close together.

9 years agoCycles: disable scaling up of ray differentials after diffuse/glossy bounce, this
Brecht Van Lommel [Wed, 12 Dec 2012 14:43:07 +0000 (14:43 +0000)]
Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this
isn't working well for OSL texture filtering and wasn't very helpful to begin
with, a better solution should be possible.

9 years agofix [#33489] Scaling normals with Alt (maintains shell thickness) producing wrong...
Campbell Barton [Wed, 12 Dec 2012 14:34:21 +0000 (14:34 +0000)]
fix [#33489] Scaling normals with Alt (maintains shell thickness) producing wrong result.

not exactly a bug - zero area faces from a cancelled extrude gave issues - but this is a common use case, so make it work by only using selected faces when calculating the vertex shell thickness.

9 years agomove edge split into its own function which can be called by the modifier without...
Campbell Barton [Wed, 12 Dec 2012 12:57:27 +0000 (12:57 +0000)]
move edge split into its own function which can be called by the modifier without having to call a bmesh operator (gives some speedup).

9 years agoFix for menu context. The menu draw function context did not inherit the custom conte...
Lukas Toenne [Wed, 12 Dec 2012 12:50:49 +0000 (12:50 +0000)]
Fix for menu context. The menu draw function context did not inherit the custom context storage from the original uiLayout yet. Fix by Campbell Barton (ideasman_42).

9 years agoFix for misleading doc string of panel header options.
Lukas Toenne [Wed, 12 Dec 2012 12:50:45 +0000 (12:50 +0000)]
Fix for misleading doc string of panel header options.

9 years agoA few basic Python operators for adding nodes in the node editor tree. These operator...
Lukas Toenne [Wed, 12 Dec 2012 12:50:43 +0000 (12:50 +0000)]
A few basic Python operators for adding nodes in the node editor tree. These operators basically have the same functionality as the 'Add' menu (which currently does not even use operators itself). They can be used in customized tools.

The node_add_move operator is an extended variant which starts the (modal) transform operator right after adding a node, as a quicker way of inserting nodes in a tree.

9 years agoToolbar region for the node editor. This region is, for now, empty and hidden by...
Lukas Toenne [Wed, 12 Dec 2012 12:50:39 +0000 (12:50 +0000)]
Toolbar region for the node editor. This region is, for now, empty and hidden by default. Later on we might add standard panels here, but at least it will give addons a place to register tool shelf panels.

9 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

9 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/)

9 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..

9 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)

9 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.

9 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.

9 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

9 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.

9 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.

9 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.

9 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()

9 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.

9 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.

9 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.

9 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

- 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.

9 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.

9 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.

9 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

9 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.

9 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.

9 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.

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

9 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.

9 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.

9 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

9 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)

9 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.

9 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).

9 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.

9 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.

9 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.

9 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.

9 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()

9 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.

9 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.

9 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()

9 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

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

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

9 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 ;)

9 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.

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

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

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

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

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

9 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.

9 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.

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

9 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.

9 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.

9 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

9 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.

9 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.

9 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()

9 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.

9 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.

9 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.

9 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

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

9 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.

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

9 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)

9 years agoCMake:
Antony Riakiotakis [Sun, 9 Dec 2012 01:42:26 +0000 (01:42 +0000)]

*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).

9 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.

9 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

9 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)

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

9 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.

9 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.

9 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.

9 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.

9 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.