Campbell Barton [Thu, 29 Nov 2012 02:44:06 +0000 (02:44 +0000)]
bmesh py api: add BMeshFaceSeq.active attribute- bm.faces.active
Campbell Barton [Thu, 29 Nov 2012 02:37:39 +0000 (02:37 +0000)]
skip recalculating tessface when adding objects if 'EnterEdit-mode' is disabled.
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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
Sergey Sharybin [Wed, 28 Nov 2012 13:27:12 +0000 (13:27 +0000)]
Dependency builder: fixed sources directory not creating in some cases
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.
Sergey Sharybin [Wed, 28 Nov 2012 09:49:26 +0000 (09:49 +0000)]
Typo fix in comment. No functional changes.
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.
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.
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.
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.
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
projects.blender.org/tracker/index.php?func=detail&aid=33269&group_id=9&atid=498
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
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.
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.
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.
Campbell Barton [Tue, 27 Nov 2012 23:37:02 +0000 (23:37 +0000)]
improve docstring for BMO_op_vinitf().
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.
Brecht Van Lommel [Tue, 27 Nov 2012 21:47:55 +0000 (21:47 +0000)]
Fix #33328: cycles not rendering dupliframes, needs an exception.
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.
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.
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.
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.
Brecht Van Lommel [Tue, 27 Nov 2012 17:30:46 +0000 (17:30 +0000)]
CMake: hide some unnecessary LLVM/OSL/EXR prints.
Antony Riakiotakis [Tue, 27 Nov 2012 17:21:58 +0000 (17:21 +0000)]
fix crash with path conversion, not all materials have nodes
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.
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.
Brecht Van Lommel [Tue, 27 Nov 2012 16:02:12 +0000 (16:02 +0000)]
Fix cycles OSL shader loading warnings after recent bugfix.
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.
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.
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.
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.
Campbell Barton [Tue, 27 Nov 2012 13:54:34 +0000 (13:54 +0000)]
move bmesh operator calling into its own file.
Campbell Barton [Tue, 27 Nov 2012 13:45:28 +0000 (13:45 +0000)]
add empty files (will move bmesh operator calling here)
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
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.
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.
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.
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).
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.
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()
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.
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.
see:
http://www.blender.org/documentation/blender_python_api_2_64_9/bmesh.ops.html
Campbell Barton [Tue, 27 Nov 2012 06:53:26 +0000 (06:53 +0000)]
code cleanup: bmesh operator comments, readying for doc-generation.
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.
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.
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.
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.
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.
Bastien Montagne [Mon, 26 Nov 2012 21:25:50 +0000 (21:25 +0000)]
Spell check updates...
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.
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
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.
Sergey Sharybin [Mon, 26 Nov 2012 17:38:03 +0000 (17:38 +0000)]
Fix wrong color space used for generated float images
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.
Campbell Barton [Mon, 26 Nov 2012 16:20:35 +0000 (16:20 +0000)]
fix for crash copying nodes, regression since last release.
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.
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
Sergey Sharybin [Mon, 26 Nov 2012 14:15:41 +0000 (14:15 +0000)]
Fix #33293L VSE: strip - separate images [Y] dialog "image duration" missing
Campbell Barton [Mon, 26 Nov 2012 13:58:06 +0000 (13:58 +0000)]
switch verious references from py3.2 -> 3.3 or just 3.
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
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.
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.
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.
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.
Campbell Barton [Mon, 26 Nov 2012 11:03:14 +0000 (11:03 +0000)]
style cleanup
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Campbell Barton [Mon, 26 Nov 2012 03:16:29 +0000 (03:16 +0000)]
use more rigid type checking for bmesh slot subtypes.
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).
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.
Brecht Van Lommel [Sun, 25 Nov 2012 16:52:42 +0000 (16:52 +0000)]
Fix #33304: missing 3D view redraw while moving camera markers.
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.
Campbell Barton [Sun, 25 Nov 2012 15:05:17 +0000 (15:05 +0000)]
code cleanup: warnings, style
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).
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.
Campbell Barton [Sun, 25 Nov 2012 09:52:05 +0000 (09:52 +0000)]
continuous zoom was inverted from other zoom modes.
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.
Mitchell Stokes [Sun, 25 Nov 2012 07:42:41 +0000 (07:42 +0000)]
BGE: The blenderplayer usage docs mentioned "enable all frames" was "fixedtime," but the player was actually looking for "fixed_framerate." Since fixedtime doesn't have a fixed framerate, but a fixed time step, I change the player to look for the documented flag, "fixedtime," which makes more sense.
Brecht Van Lommel [Sun, 25 Nov 2012 06:55:39 +0000 (06:55 +0000)]
Fix #33296: uv editing did unnecessary outliner redraw, giving slowdown.
Brecht Van Lommel [Sun, 25 Nov 2012 06:55:33 +0000 (06:55 +0000)]
Fix #33297: crash loading modal keymap after recent keymap bugfix.
Brecht Van Lommel [Sat, 24 Nov 2012 20:54:14 +0000 (20:54 +0000)]
Fix #33290: pressing alt+Z in wireframe mode did not go to textured draw mode
directly as it used to in 2.4x.