8 years agoBGE: Fixing the double-click issue for mouse events too. The previous fix only fixed...
Mitchell Stokes [Thu, 29 Nov 2012 05:21:24 +0000 (05:21 +0000)]
BGE: Fixing the double-click issue for mouse events too. The previous fix only fixed double-click keyboard events.

8 years agobmesh py api: add bmesh.update_edit_mode(), there was no way to redraw the 3d view...
Campbell Barton [Thu, 29 Nov 2012 05:02:06 +0000 (05:02 +0000)]
bmesh py api: add bmesh.update_edit_mode(), there was no way to redraw the 3d view or re-calculate face tessellation from python.

add py template for editing meshes in editmode.

also remove double call to CTX_wm_region which does a string lookup.

8 years agosome minor edits
Campbell Barton [Thu, 29 Nov 2012 03:55:07 +0000 (03:55 +0000)]
some minor edits
- script stub printed resource warning with py3.3 (not closing a file).
- bmesh customdata layer access had bad docstring.
- float/double conversion warnings in sequencer code (use doubles since result is double)
- remove unused var

8 years agobmesh py api: use generic checking macros to see if an object if from the same bmesh.
Campbell Barton [Thu, 29 Nov 2012 03:25:37 +0000 (03:25 +0000)]
bmesh py api: use generic checking macros to see if an object if from the same bmesh.
- was such a common operation so this saves having exceptions set inline all over the place.

8 years agobmesh py api: add attribute-
Campbell Barton [Thu, 29 Nov 2012 02:44:06 +0000 (02:44 +0000)]
bmesh py api: add attribute-

8 years agoskip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled.
Campbell Barton [Thu, 29 Nov 2012 02:37:39 +0000 (02:37 +0000)]
skip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled.

8 years agoFix related to #33340: add a warning to bge from_id documentation to not store id()
Brecht Van Lommel [Thu, 29 Nov 2012 01:25:38 +0000 (01:25 +0000)]
Fix related to #33340: add a warning to bge from_id documentation to not store id()
in game object integer properties since it may not fit in 32 bits integers.

8 years agoFix #32900: object motion blur not working on the GPU. To make this work I disabled...
Brecht Van Lommel [Thu, 29 Nov 2012 00:43:50 +0000 (00:43 +0000)]
Fix #32900: object motion blur not working on the GPU. To make this work I disabled motion
blurring of scale animation, probably not a big loss in practice since it's not so common
to animate this, can be added back later.

8 years agoFix #33337: cycles crash with progressive refine and multiple render layers.
Brecht Van Lommel [Wed, 28 Nov 2012 19:57:29 +0000 (19:57 +0000)]
Fix #33337: cycles crash with progressive refine and multiple render layers.

8 years agoSeems cmake in debian squeeze is broken and fails to handle BOOST_ROOT
Sergey Sharybin [Wed, 28 Nov 2012 19:37:37 +0000 (19:37 +0000)]
Seems cmake in debian squeeze is broken and fails to handle BOOST_ROOT

I would recommend using debian-backports repo for cmake

8 years agoFix #33335: cycles SVM closure issue in recent bugfix, incorrectly tagging
Brecht Van Lommel [Wed, 28 Nov 2012 19:13:34 +0000 (19:13 +0000)]
Fix #33335: cycles SVM closure issue in recent bugfix, incorrectly tagging
node as done.

8 years agoMove to Layer: optimization so that the first change in the popup menu does
Brecht Van Lommel [Wed, 28 Nov 2012 16:42:39 +0000 (16:42 +0000)]
Move to Layer: optimization so that the first change in the popup menu does
not do an undo push & undo step, there's no reason this is needed.

In principle this particular operator doesn't ever need an undo on changes,
even for further steps, but that's harder to solve.

8 years agoFix #33334: missing glossy label for OSL phong ramp caused assert.
Brecht Van Lommel [Wed, 28 Nov 2012 16:42:32 +0000 (16:42 +0000)]
Fix #33334: missing glossy label for OSL phong ramp caused assert.

8 years agoFor sure buildbot's release buildflags should include -DNDEBUG,
Sergey Sharybin [Wed, 28 Nov 2012 16:19:45 +0000 (16:19 +0000)]
For sure buildbot's release buildflags should include -DNDEBUG,
otherwise asserts will abort execution for release builds.

8 years agoinclude an example in the api docs for using bmesh operators to make 2 links in a...
Campbell Barton [Wed, 28 Nov 2012 15:08:45 +0000 (15:08 +0000)]
include an example in the api docs for using bmesh operators to make 2 links in a chain.

8 years agobmesh operator py api:
Campbell Barton [Wed, 28 Nov 2012 15:07:57 +0000 (15:07 +0000)]
bmesh operator py api:
- fix for incorrect bmesh operator type-check for mapping slots.
- fix for python causing an assert when invalid args are given.
- fix memory leak with some exceptions.

8 years agofix for minor annoyance - when extruding a circle there would always be one face...
Campbell Barton [Wed, 28 Nov 2012 14:15:54 +0000 (14:15 +0000)]
fix for minor annoyance - when extruding a circle there would always be one face flipped, now edges are all ordered in the same direction.

8 years agoDependency builder: reduce amount of needed sudo commands by checking permissions...
Sergey Sharybin [Wed, 28 Nov 2012 13:34:44 +0000 (13:34 +0000)]
Dependency builder: reduce amount of needed sudo commands by checking permissions for $INST folder

8 years agoDependency builder: fixed sources directory not creating in some cases
Sergey Sharybin [Wed, 28 Nov 2012 13:27:12 +0000 (13:27 +0000)]
Dependency builder: fixed sources directory not creating in some cases

8 years agoFix normal compositing/shader node not showing normal widget.
Brecht Van Lommel [Wed, 28 Nov 2012 13:20:45 +0000 (13:20 +0000)]
Fix normal compositing/shader node not showing normal widget.

It would actually show after save and reload, the subtype and min/max were
not properly initialized for node output sockets.

8 years agoTypo fix in comment. No functional changes.
Sergey Sharybin [Wed, 28 Nov 2012 09:49:26 +0000 (09:49 +0000)]
Typo fix in comment. No functional changes.

8 years agoFix #33330: Proxies are not built in Sequencer if preview is visible
Sergey Sharybin [Wed, 28 Nov 2012 09:36:23 +0000 (09:36 +0000)]
Fix #33330: Proxies are not built in Sequencer if preview is visible

Was own regression when was solving conflict between sequencer preview
and compositor jobs. Made it so now only compositor jobs are being
killed from sequencer preview.

8 years agofix/workaround [#33309] small + in few windows
Campbell Barton [Wed, 28 Nov 2012 09:10:27 +0000 (09:10 +0000)]
fix/workaround [#33309] small + in few windows
text/image/compo were missing '+', toggling adds them.

8 years agoFix #33295: Shifted movie strip when rendering <100% resolution for strip with comple...
Sergey Sharybin [Wed, 28 Nov 2012 09:01:00 +0000 (09:01 +0000)]
Fix #33295: Shifted movie strip when rendering <100% resolution for strip with complex transform

That was kind of a regression since fix for #32091: Crop and offset coordinates changes proxy
render settings on image strips, which is now fixed in other way.

Namely Offset/Crop values are filling in 100% scene resolution values, but getting scaled to
proxy / scene percentage values.

8 years agotypo's and some style cleanup, also added asserts into BLI_vsnprintf and BLI_sprintfN...
Campbell Barton [Wed, 28 Nov 2012 06:43:04 +0000 (06:43 +0000)]
typo's and some style cleanup, also added asserts into BLI_vsnprintf and BLI_sprintfN when invalid args are given.

8 years agoCopy face attributes when creating new faces in BMO_symmetrize
Nicholas Bishop [Wed, 28 Nov 2012 05:07:04 +0000 (05:07 +0000)]
Copy face attributes when creating new faces in BMO_symmetrize

Fixes bug [#33269] Symmetrize doesnt honor shadesmooth

8 years agofix [#33320] Decimate modifer in collapse is inconsistent when limiting to a vertex...
Campbell Barton [Wed, 28 Nov 2012 02:49:06 +0000 (02:49 +0000)]
fix [#33320] Decimate modifer in collapse is inconsistent when limiting to a vertex group

8 years agobmesh operator api reference - add in 'bmesh' arg at the start of each operator,...
Campbell Barton [Wed, 28 Nov 2012 01:14:11 +0000 (01:14 +0000)]
bmesh operator api reference - add in 'bmesh' arg at the start of each operator, also use :class: references.

8 years agouse radians for 'spin' bmesh operator (since the rest of the py api uses radians...
Campbell Barton [Wed, 28 Nov 2012 00:47:33 +0000 (00:47 +0000)]
use radians for 'spin' bmesh operator (since the rest of the py api uses radians). also rename BMO_OP_SLOT_SUBTYPE_MAP_FLOAT -> BMO_OP_SLOT_SUBTYPE_MAP_FLT for consistency.

8 years agobmesh operator naming - use clearer names for args eg: (mat -> matrix, use_singleedge...
Campbell Barton [Wed, 28 Nov 2012 00:16:06 +0000 (00:16 +0000)]
bmesh operator naming - use clearer names for args eg: (mat -> matrix, use_singleedge -> use_single_edge)

also remove duplicate docs for operator arg formatting.

8 years agoimprove docstring for BMO_op_vinitf().
Campbell Barton [Tue, 27 Nov 2012 23:37:02 +0000 (23:37 +0000)]
improve docstring for BMO_op_vinitf().

8 years agoGPU: remove GPU Mipmap Generation option and just always enable it, it's an old
Brecht Van Lommel [Tue, 27 Nov 2012 22:51:28 +0000 (22:51 +0000)]
GPU: remove GPU Mipmap Generation option and just always enable it, it's an old
OpenGL 1.4 feature that is stable, there's no reason not to use it. Also fixed
GPU mipmap generation not working in the game player.

8 years agoFix #33328: cycles not rendering dupliframes, needs an exception.
Brecht Van Lommel [Tue, 27 Nov 2012 21:47:55 +0000 (21:47 +0000)]
Fix #33328: cycles not rendering dupliframes, needs an exception.

8 years agoFix #33168: collada export added incorrect -material postfix to material names.
Brecht Van Lommel [Tue, 27 Nov 2012 21:26:06 +0000 (21:26 +0000)]
Fix #33168: collada export added incorrect -material postfix to material names.

In the bug report it was also mentioned that special characters should be
preserved for names, however the collada 1.4 specification does not allow this.
Version 1.5 does, but we are still writing 1.4 files and files with such special
characters will then fail to open in some applications.

8 years agoFix #33326: outliner numpad minus collapse followed by numpad plus expand did not...
Brecht Van Lommel [Tue, 27 Nov 2012 20:12:00 +0000 (20:12 +0000)]
Fix #33326: outliner numpad minus collapse followed by numpad plus expand did not work.

8 years agoFix #33324: Auto IK not working after recent changes. iTaSC it seems never worked
Brecht Van Lommel [Tue, 27 Nov 2012 20:07:12 +0000 (20:07 +0000)]
Fix #33324: Auto IK not working after recent changes. iTaSC it seems never worked
with Auto IK, now that's fixed too.

8 years agoBGE: Fix for [#33027] "logic.keyboard polling rate extremely low" reported by Josiah...
Mitchell Stokes [Tue, 27 Nov 2012 17:41:39 +0000 (17:41 +0000)]
BGE: Fix for [#33027] "logic.keyboard polling rate extremely low" reported by Josiah Lane (solarlune). The embedded player now treats KM_DBL_CLICK the same as KM_PRESS.

8 years agoCMake: hide some unnecessary LLVM/OSL/EXR prints.
Brecht Van Lommel [Tue, 27 Nov 2012 17:30:46 +0000 (17:30 +0000)]
CMake: hide some unnecessary LLVM/OSL/EXR prints.

8 years agofix crash with path conversion, not all materials have nodes
Antony Riakiotakis [Tue, 27 Nov 2012 17:21:58 +0000 (17:21 +0000)]
fix crash with path conversion, not all materials have nodes

8 years agoadd osl shader scripts to bpath walker (so making paths absolute or relative applies...
Campbell Barton [Tue, 27 Nov 2012 16:19:52 +0000 (16:19 +0000)]
add osl shader scripts to bpath walker (so making paths absolute or relative applies to shader paths too).
also remove "RNA_types.h" include from BKE_nodes.h.

8 years agoMove to layer: remove the OK button and make it apply immediately like it did
Brecht Van Lommel [Tue, 27 Nov 2012 16:02:15 +0000 (16:02 +0000)]
Move to layer: remove the OK button and make it apply immediately like it did
before, is much nicer workflow. Now only if global undo is disabled will the
OK button show.

This is also a more generic fix for #26891 that solves other operators that
were also broken with global undo disabled.

8 years agoFix cycles OSL shader loading warnings after recent bugfix.
Brecht Van Lommel [Tue, 27 Nov 2012 16:02:12 +0000 (16:02 +0000)]
Fix cycles OSL shader loading warnings after recent bugfix.

8 years agoFix part of #32248: transform with a size limit constraint did not preserve negative...
Brecht Van Lommel [Tue, 27 Nov 2012 16:02:03 +0000 (16:02 +0000)]
Fix part of #32248: transform with a size limit constraint did not preserve negative scale.

8 years agoreplace and exception macro's for static functions and fix some bad assumptions.
Campbell Barton [Tue, 27 Nov 2012 15:26:10 +0000 (15:26 +0000)]
replace and exception macro's for static functions and fix some bad assumptions.

8 years agoCamera Tracking: fixed camera solve operator not updating scene camera
Sergey Sharybin [Tue, 27 Nov 2012 15:10:22 +0000 (15:10 +0000)]
Camera Tracking: fixed camera solve operator not updating scene camera

Was own regression caused by fix of crash when non-camera object is used
as scene camera.

8 years agosplit py->slot & slot->py into their own functions & fixed some mistakes with conversion.
Campbell Barton [Tue, 27 Nov 2012 14:25:38 +0000 (14:25 +0000)]
split py->slot & slot->py into their own functions & fixed some mistakes with conversion.

8 years agomove bmesh operator calling into its own file.
Campbell Barton [Tue, 27 Nov 2012 13:54:34 +0000 (13:54 +0000)]
move bmesh operator calling into its own file.

8 years agoadd empty files (will move bmesh operator calling here)
Campbell Barton [Tue, 27 Nov 2012 13:45:28 +0000 (13:45 +0000)]
add empty files (will move bmesh operator calling here)

8 years agoOSX/scons: introducing and testing an unexported_symbols_list to prevent clashes...
Jens Verwiebe [Tue, 27 Nov 2012 11:38:59 +0000 (11:38 +0000)]
OSX/scons: introducing and testing an unexported_symbols_list to prevent clashes, todo: cmake

8 years agoMasking: fixed bug with vector handles not updating when CV is parented to a motion...
Sergey Sharybin [Tue, 27 Nov 2012 11:28:39 +0000 (11:28 +0000)]
Masking: fixed bug with vector handles not updating when CV is parented to a motion track.

8 years agoMark boost symbols as local
Sergey Sharybin [Tue, 27 Nov 2012 10:24:18 +0000 (10:24 +0000)]
Mark boost symbols as local

This was needed to resolve conflict between blender's and pylux's boost symbols.

Ideally visibility should be changed to local in lux as well, since if blender is
dynamically linked against boost it'll still crash.

Anyway, having this change wouldn't hurt and will solve issues with lux for official
linux builds at least.

8 years agoremove unmaintained eltopo, keeping scons/cmake entries, but commenting out user...
Campbell Barton [Tue, 27 Nov 2012 09:52:20 +0000 (09:52 +0000)]
remove unmaintained eltopo, keeping scons/cmake entries, but commenting out user visible config to make branch merging less of a hassle.

8 years agonew bevel was still referring to old property name (holding shift wasnt working while...
Campbell Barton [Tue, 27 Nov 2012 09:47:22 +0000 (09:47 +0000)]
new bevel was still referring to old property name (holding shift wasnt working while beveling).

8 years agouse clearer names for 'single' bmesh operator args & add '%e' to BMO_op_vinitf comments.
Campbell Barton [Tue, 27 Nov 2012 09:41:08 +0000 (09:41 +0000)]
use clearer names for 'single' bmesh operator args & add '%e' to BMO_op_vinitf comments.

8 years agopy/bmesh api - add support for single item buffers (odd feature but used quite a...
Campbell Barton [Tue, 27 Nov 2012 09:21:57 +0000 (09:21 +0000)]
py/bmesh api - add support for single item buffers (odd feature but used quite a bit with bmesh operators).
also add utility functions BMO_slot_buffer_from_single(), BMO_slot_buffer_get_single()

8 years agoFix crash opening .blend file with missing lib linked scene and no local scene.
Brecht Van Lommel [Tue, 27 Nov 2012 08:19:34 +0000 (08:19 +0000)]
Fix crash opening .blend file with missing lib linked scene and no local scene.

8 years agogenerate api reference for 'bmesh.ops', restructured text is extracted from bmesh_opd...
Campbell Barton [Tue, 27 Nov 2012 06:56:51 +0000 (06:56 +0000)]
generate api reference for 'bmesh.ops', restructured text is extracted from bmesh_opdefines.c.


8 years agocode cleanup: bmesh operator comments, readying for doc-generation.
Campbell Barton [Tue, 27 Nov 2012 06:53:26 +0000 (06:53 +0000)]
code cleanup: bmesh operator comments, readying for doc-generation.

8 years agofix for asserts added in own recent commit with more strict type-checking
Campbell Barton [Tue, 27 Nov 2012 02:34:40 +0000 (02:34 +0000)]
fix for asserts added in own recent commit with more strict type-checking
- BMO_slot_copy now only copies compatible elements.

other minor changes
- don't use text.format(...), convention for UI scripts is C style string formatting.
- rename bmo_edgenet_prepare --> bmo_edgenet_prepare_exec
- float/double warning in bevel.

8 years agoBevel: better round profile code.
Howard Trickey [Tue, 27 Nov 2012 01:07:22 +0000 (01:07 +0000)]
Bevel: better round profile code.
Easier to understand, no touchy intersect code, and works
even when arms aren't equal length.
Old code ifdef'd for now, will remove soon.

8 years agobmesh/py operator api:
Campbell Barton [Tue, 27 Nov 2012 00:50:59 +0000 (00:50 +0000)]
bmesh/py operator api:
add type checking for element buffers, there was nothing stopping python from passing any element type into an argument when in some cases only verts/edges/faces were expected.
now operator args define which types they support.

8 years agofix/workaround [#33281] script goes into not responding
Campbell Barton [Mon, 26 Nov 2012 23:18:04 +0000 (23:18 +0000)]
fix/workaround [#33281] script goes into not responding

scanfill remove-doubles pass assumes ordered edges (as with curves), otherwise it can hang.
workaround this problem by skipping removing-doubles for mesh ngons, since this isnt such a common case as it is with curves and we can just not support it.

8 years agoFix #32907: failure rendering a complex node setup, hitting fixed max number
Brecht Van Lommel [Mon, 26 Nov 2012 21:59:41 +0000 (21:59 +0000)]
Fix #32907: failure rendering a complex node setup, hitting fixed max number
of closures limit. Optimized the code now so it can handle more.

Change SVM mix/add closure handling, now we transform the node graph so that
the mix weights are fed into the closure nodes directly.

8 years agoSpell check updates...
Bastien Montagne [Mon, 26 Nov 2012 21:25:50 +0000 (21:25 +0000)]
Spell check updates...

8 years agoFix #33226: error loading .blend files with different endian on Mac. The cause
Brecht Van Lommel [Mon, 26 Nov 2012 20:37:04 +0000 (20:37 +0000)]
Fix #33226: error loading .blend files with different endian on Mac. The cause
was wrong inline and pure attributes on the endian switch function.

8 years agoRemove non existent pthread include directory for MinGW, also slight message correcti...
Antony Riakiotakis [Mon, 26 Nov 2012 19:50:08 +0000 (19:50 +0000)]
Remove non existent pthread include directory for MinGW, also slight message correction for 64 bit MinGW

8 years agoFix #33316: mesh edge short path select was wrong on large/small objects.
Brecht Van Lommel [Mon, 26 Nov 2012 19:10:34 +0000 (19:10 +0000)]
Fix #33316: mesh edge short path select was wrong on large/small objects.

8 years agoFix wrong color space used for generated float images
Sergey Sharybin [Mon, 26 Nov 2012 17:38:03 +0000 (17:38 +0000)]
Fix wrong color space used for generated float images

8 years agofix uv lasso and circle select - both were not working with uv-face-select mode.
Campbell Barton [Mon, 26 Nov 2012 16:55:44 +0000 (16:55 +0000)]
fix uv lasso and circle select - both were not working with uv-face-select mode.
now face select with/without sync-select work, with sticky options too.

8 years agofix for crash copying nodes, regression since last release.
Campbell Barton [Mon, 26 Nov 2012 16:20:35 +0000 (16:20 +0000)]
fix for crash copying nodes, regression since last release.

8 years agofix for changing images in UV editmode with sync-selection enabled, this was switchin...
Campbell Barton [Mon, 26 Nov 2012 15:12:17 +0000 (15:12 +0000)]
fix for changing images in UV editmode with sync-selection enabled, this was switching all images even those from unselected faces.

8 years agoEnable python 3.3 for MinGW/CMake.
Antony Riakiotakis [Mon, 26 Nov 2012 14:47:34 +0000 (14:47 +0000)]
Enable python 3.3 for MinGW/CMake.

MinGW32 python libs will be commited later in the day

8 years agoFix #33293L VSE: strip - separate images [Y] dialog "image duration" missing
Sergey Sharybin [Mon, 26 Nov 2012 14:15:41 +0000 (14:15 +0000)]
Fix #33293L VSE: strip - separate images [Y] dialog "image duration" missing

8 years agoswitch verious references from py3.2 -> 3.3 or just 3.
Campbell Barton [Mon, 26 Nov 2012 13:58:06 +0000 (13:58 +0000)]
switch verious references from py3.2 -> 3.3 or just 3.

8 years ago-fno-rtti is a gcc option which gives a warning when using MSVC
Jason Wilkins [Mon, 26 Nov 2012 13:48:48 +0000 (13:48 +0000)]
-fno-rtti is a gcc option which gives a warning when using MSVC

8 years agosearch box width's now scale with DPI setting.
Campbell Barton [Mon, 26 Nov 2012 13:23:37 +0000 (13:23 +0000)]
search box width's now scale with DPI setting.
was checking on: [#33294] too small place for material names

this helps in some cases but doesn't resolve issue with very long names.

8 years agoSwitch windows to python 3.3
Sergey Sharybin [Mon, 26 Nov 2012 12:38:40 +0000 (12:38 +0000)]
Switch windows to python 3.3

Should affect on msvc2008 only, however scons with msvc2010 could still be broken.

8 years agofix [#31598] Messed up Smart UVs
Campbell Barton [Mon, 26 Nov 2012 11:53:34 +0000 (11:53 +0000)]
fix [#31598] Messed up Smart UVs

face areas were too close to zero. also copy the face normal to avoid recalculations on each use.

8 years agoFix: cycles light sampling crash, happens on rare occasions due to float
Brecht Van Lommel [Mon, 26 Nov 2012 11:05:22 +0000 (11:05 +0000)]
Fix: cycles light sampling crash, happens on rare occasions due to float
rounding errors.

8 years agostyle cleanup
Campbell Barton [Mon, 26 Nov 2012 11:03:14 +0000 (11:03 +0000)]
style cleanup

8 years agofix [#33303] face selection masking for painting does not work with mesh with n-gon
Campbell Barton [Mon, 26 Nov 2012 10:15:32 +0000 (10:15 +0000)]
fix [#33303] face selection masking for painting does not work with mesh with n-gon
caused by own change to how origindex is used, now if mpoly's CD_ORIGINDEX array is missing its assumes that its the original mpoly array.

8 years agoFix #33312: cycles render crash with motion blur / vector pass rendering. It's
Brecht Van Lommel [Mon, 26 Nov 2012 09:46:15 +0000 (09:46 +0000)]
Fix #33312: cycles render crash with motion blur / vector pass rendering. It's
actually the render threading issue and not a full fix, but this avoids the 3D
viewport getting redrawn when changing frames to get motion vectors.

8 years agoFix #33310: unnecessary redraw of outliner when editing materials and textures.
Brecht Van Lommel [Mon, 26 Nov 2012 08:52:07 +0000 (08:52 +0000)]
Fix #33310: unnecessary redraw of outliner when editing materials and textures.

8 years agopy/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type.
Campbell Barton [Mon, 26 Nov 2012 08:44:37 +0000 (08:44 +0000)]
py/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type.

8 years agoFix #33292: cycles material draw mode selection not working on some cards, now
Brecht Van Lommel [Mon, 26 Nov 2012 08:00:15 +0000 (08:00 +0000)]
Fix #33292: cycles material draw mode selection not working on some cards, now
skip glsl for picking as was already done for other GLSL drawing.

8 years agoFix #33285: loop cut is not supposed to cut through triangles/ngons, but it
Brecht Van Lommel [Mon, 26 Nov 2012 06:59:59 +0000 (06:59 +0000)]
Fix #33285: loop cut is not supposed to cut through triangles/ngons, but it
still happened  when the loop would go all the way around the mesh with just one
triangle/ngon inbetween to close the loop.

8 years agoBevel: allow page up / page down shortcuts for segments in addition to mousewheel.
Brecht Van Lommel [Mon, 26 Nov 2012 06:59:50 +0000 (06:59 +0000)]
Bevel: allow page up / page down shortcuts for segments in addition to mousewheel.

8 years agouse slightly more efficient BLI_array_fixedstack_declare() instead of BLI_array_stati...
Campbell Barton [Mon, 26 Nov 2012 05:06:33 +0000 (05:06 +0000)]
use slightly more efficient BLI_array_fixedstack_declare() instead of BLI_array_staticdeclare() for bevel code since the array size is known.

8 years agofix [#33305] Bevel tool crashes Blender if the number of segments exceeds 28
Campbell Barton [Mon, 26 Nov 2012 04:58:33 +0000 (04:58 +0000)]
fix [#33305] Bevel tool crashes Blender if the number of segments exceeds 28

this was infact a general bug in BLI_array_grow_items(), surprising we didnt run into it before.
- growing the array for the first time would use the static var even if it wasn't big enough.

8 years agofix for uninitialized memory use with numeric input:
Campbell Barton [Mon, 26 Nov 2012 03:47:20 +0000 (03:47 +0000)]
fix for uninitialized memory use with numeric input:
  bevel/inset/marker-move would use uninitialized memory when used as modal operators and pressing backspace after entering values.

8 years agouse more rigid type checking for bmesh slot subtypes.
Campbell Barton [Mon, 26 Nov 2012 03:16:29 +0000 (03:16 +0000)]
use more rigid type checking for bmesh slot subtypes.

8 years agoadd subtypes to bmesh operators (needed for python api to know how to convert return...
Campbell Barton [Mon, 26 Nov 2012 02:24:03 +0000 (02:24 +0000)]
add subtypes to bmesh operators (needed for python api to know how to convert return values).

8 years agocode cleanup: doxy comment corrections and correct own typo animation player docs.
Campbell Barton [Mon, 26 Nov 2012 00:59:11 +0000 (00:59 +0000)]
code cleanup: doxy comment corrections and correct own typo animation player docs.

8 years agoFix #33304: missing 3D view redraw while moving camera markers.
Brecht Van Lommel [Sun, 25 Nov 2012 16:52:42 +0000 (16:52 +0000)]
Fix #33304: missing 3D view redraw while moving camera markers.

8 years agoFix #33291: when using boundbox drawtype for a large number of duplicated objects,
Brecht Van Lommel [Sun, 25 Nov 2012 16:12:07 +0000 (16:12 +0000)]
Fix #33291: when using boundbox drawtype for a large number of duplicated objects,
enabling Wire draw on the parent would draw full resolution wires for all the
instances which can be very slow. So for boundbox those draw extras options are not
inherited now.

8 years agocode cleanup: warnings, style
Campbell Barton [Sun, 25 Nov 2012 15:05:17 +0000 (15:05 +0000)]
code cleanup: warnings, style

8 years agoMore fixes to parallel tests to make them less sensitive, prevents assert failures.
Howard Trickey [Sun, 25 Nov 2012 13:52:13 +0000 (13:52 +0000)]
More fixes to parallel tests to make them less sensitive, prevents assert failures.
Also made bl_debug_draw_edge_add better (don't draw edges in one continuous line).

8 years agofix [#33278] zoom mode in UV editor
Campbell Barton [Sun, 25 Nov 2012 13:17:40 +0000 (13:17 +0000)]
fix [#33278] zoom mode in UV editor

really a feature request, continuous zoom wasn't supported in the image editor.

8 years agocontinuous zoom was inverted from other zoom modes.
Campbell Barton [Sun, 25 Nov 2012 09:52:05 +0000 (09:52 +0000)]
continuous zoom was inverted from other zoom modes.

8 years agofix [#33299] When I click right button on proportional editing mode button Blender...
Campbell Barton [Sun, 25 Nov 2012 09:25:24 +0000 (09:25 +0000)]
fix [#33299] When I click right button on proportional editing mode button Blender crashes (segmentation fault)

RNA_path_from_ID_to_property() would return an uninitialized pointer.