Commit Graph

52002 Commits

Author SHA1 Message Date
Campbell Barton a7555a81c7 remove unmaintained eltopo, keeping scons/cmake entries, but commenting out user visible config to make branch merging less of a hassle. 2012-11-27 09:52:20 +00:00
Campbell Barton 7c36100930 new bevel was still referring to old property name (holding shift wasnt working while beveling). 2012-11-27 09:47:22 +00:00
Campbell Barton c00a1b7493 use clearer names for 'single' bmesh operator args & add '%e' to BMO_op_vinitf comments. 2012-11-27 09:41:08 +00:00
Campbell Barton a9855c227e 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()
2012-11-27 09:21:57 +00:00
Brecht Van Lommel 0cd26e6066 Fix crash opening .blend file with missing lib linked scene and no local scene. 2012-11-27 08:19:34 +00:00
Campbell Barton 90666d3436 code cleanup: bmesh operator comments, readying for doc-generation. 2012-11-27 06:53:26 +00:00
Campbell Barton 9982b283e6 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.
2012-11-27 02:34:40 +00:00
Howard Trickey 33c92a02e4 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.
2012-11-27 01:07:22 +00:00
Campbell Barton f8bc346eff 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.
2012-11-27 00:50:59 +00:00
Campbell Barton f9e339ef00 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.
2012-11-26 23:18:04 +00:00
Brecht Van Lommel 42dc0dc5ef Fix #33226: error loading .blend files with different endian on Mac. The cause
was wrong inline and pure attributes on the endian switch function.
2012-11-26 20:37:04 +00:00
Brecht Van Lommel 864c4112e9 Fix #33316: mesh edge short path select was wrong on large/small objects. 2012-11-26 19:10:34 +00:00
Sergey Sharybin c71ab7e774 Fix wrong color space used for generated float images 2012-11-26 17:38:03 +00:00
Campbell Barton 233e0b2472 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.
2012-11-26 16:55:44 +00:00
Campbell Barton f8759797e6 fix for crash copying nodes, regression since last release. 2012-11-26 16:20:35 +00:00
Campbell Barton 3509dd9d7f fix for changing images in UV editmode with sync-selection enabled, this was switching all images even those from unselected faces. 2012-11-26 15:12:17 +00:00
Sergey Sharybin 444d43f72c Fix #33293L VSE: strip - separate images [Y] dialog "image duration" missing 2012-11-26 14:15:41 +00:00
Campbell Barton 0a5d44588c switch verious references from py3.2 -> 3.3 or just 3. 2012-11-26 13:58:06 +00:00
Campbell Barton 2ffa538f7d 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.
2012-11-26 13:23:37 +00:00
Sergey Sharybin 2d6402c10c Switch windows to python 3.3
Should affect on msvc2008 only, however scons with msvc2010 could still be broken.
2012-11-26 12:38:40 +00:00
Campbell Barton a91814e94d style cleanup 2012-11-26 11:03:14 +00:00
Campbell Barton e3d3ffe746 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.
2012-11-26 10:15:32 +00:00
Brecht Van Lommel 240ee2fccb 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.
2012-11-26 09:46:15 +00:00
Brecht Van Lommel c91562d0ff Fix #33310: unnecessary redraw of outliner when editing materials and textures. 2012-11-26 08:52:07 +00:00
Campbell Barton 42c54bcd93 py/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type. 2012-11-26 08:44:37 +00:00
Brecht Van Lommel 9784f3d466 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.
2012-11-26 08:00:15 +00:00
Brecht Van Lommel cf2c459325 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.
2012-11-26 06:59:59 +00:00
Brecht Van Lommel 7ecf054295 Bevel: allow page up / page down shortcuts for segments in addition to mousewheel. 2012-11-26 06:59:50 +00:00
Campbell Barton e1dc420193 use slightly more efficient BLI_array_fixedstack_declare() instead of BLI_array_staticdeclare() for bevel code since the array size is known. 2012-11-26 05:06:33 +00:00
Campbell Barton 6857d31180 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.
2012-11-26 04:58:33 +00:00
Campbell Barton e77e1f183a 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.
2012-11-26 03:47:20 +00:00
Campbell Barton 3d64381e4d use more rigid type checking for bmesh slot subtypes. 2012-11-26 03:16:29 +00:00
Tamito Kajiyama 129a29873e Made changes to BLF_translation.h as noted in blenkernel/intern/idcode.c. 2012-11-26 02:41:46 +00:00
Tamito Kajiyama 4c7c1cdf41 Reverted an incomplete extra change in the last commit. 2012-11-26 02:36:23 +00:00
Tamito Kajiyama 53840c7db5 Merged changes in the trunk up to revision 52546.
Conflicts resolved:
release/datafiles/startup.blend
release/scripts/startup/bl_ui/space_view3d.py
source/blender/blenkernel/intern/idcode.c
2012-11-26 02:32:34 +00:00
Campbell Barton 3fe8134d6d add subtypes to bmesh operators (needed for python api to know how to convert return values). 2012-11-26 02:24:03 +00:00
Campbell Barton 7ef78723b7 code cleanup: doxy comment corrections and correct own typo animation player docs. 2012-11-26 00:59:11 +00:00
Brecht Van Lommel 97b8a1f752 Fix #33304: missing 3D view redraw while moving camera markers. 2012-11-25 16:52:42 +00:00
Brecht Van Lommel 20b46bbf1a 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.
2012-11-25 16:12:07 +00:00
Campbell Barton ea828fd20e code cleanup: warnings, style 2012-11-25 15:05:17 +00:00
Howard Trickey 3a7d4d661f 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).
2012-11-25 13:52:13 +00:00
Campbell Barton 14255ae39d fix [#33278] zoom mode in UV editor
really a feature request, continuous zoom wasn't supported in the image editor.
2012-11-25 13:17:40 +00:00
Campbell Barton ea7d9a2a5d continuous zoom was inverted from other zoom modes. 2012-11-25 09:52:05 +00:00
Campbell Barton abc059f99a 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.
2012-11-25 09:25:24 +00:00
Mitchell Stokes 5af5f2f21c 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. 2012-11-25 07:42:41 +00:00
Brecht Van Lommel 748216ad3d Fix #33296: uv editing did unnecessary outliner redraw, giving slowdown. 2012-11-25 06:55:39 +00:00
Brecht Van Lommel 33767bde9b Fix #33297: crash loading modal keymap after recent keymap bugfix. 2012-11-25 06:55:33 +00:00
Brecht Van Lommel 6c2e338f10 Fix #33290: pressing alt+Z in wireframe mode did not go to textured draw mode
directly as it used to in 2.4x.
2012-11-24 20:54:14 +00:00
Brecht Van Lommel 87ccc78f2c Fix #33286: when keyframing object scale, noise fmodifier scale would show
as animated in the UI.
2012-11-24 15:46:14 +00:00
Brecht Van Lommel 9b32776be3 Fix #33282: missing GLSL update assigning a lamp texture. 2012-11-24 14:50:40 +00:00