Commit Graph

52002 Commits

Author SHA1 Message Date
Campbell Barton a5bc021943 code cleanup: remove unused material/texture naming functions. 2013-07-23 12:45:28 +00:00
Campbell Barton 769c566672 code cleanup: remove dead code, view3d panel was building a menu string and not using it. 2013-07-23 12:18:12 +00:00
Antonis Ryakiotakis c8ed6f79b5 Fix #36225, spacing was halved and set to zero for texture paint brushes that had spacing of 1. Related to own changes to maintain spacing consistent between 2.67-2.66. 2013-07-23 11:13:39 +00:00
Campbell Barton fb92835819 bge: de-duplicate cleanup code for empty mesh error case 2013-07-23 10:59:29 +00:00
Campbell Barton d9b0f660c9 prepare for 'a' bugfix release, splash and version bump. 2013-07-23 08:10:46 +00:00
Campbell Barton 6f8913b498 replave isfinite with finite for msvc 2013-07-23 07:40:07 +00:00
Bastien Montagne 8069729552 Minor UI typo fix... ;) 2013-07-23 06:58:05 +00:00
Daniel Stokes f7037737f3 BGE fix [#35472] Sun variance shadows does not work in game engine
The game engine had depth testing enabled when blurring the shadows which caused the blurring to not work properly.
2013-07-23 00:52:49 +00:00
Campbell Barton c49a9c25fc fix own regression, OpenGL render with 'New Window' display-mode was broken
need to re-assign after opening a new window.
2013-07-22 23:44:46 +00:00
Campbell Barton 3e40717000 use BLI_bitmap for crazyspace vertex tagging. 2013-07-22 23:33:53 +00:00
Campbell Barton 04ea8c0ee8 remove the pointer from BLI_bitmap's typedef,
hides that an arg passed is really an array which may be modified by other functions.
2013-07-22 23:20:48 +00:00
Campbell Barton b7bf20d950 optimization: only calculate the normals for passing into derivedMesh foreachMappedVert/foreachMappedFaceCenter when needed,
this means in editmode with wire draw, face and vertex normals don't have to be calculated at all.

in most cases the normals are not used so add a flag that makes calculating them only for functions that need them.
also fix face normal calculation for CDDM, was using quad calculation for ngons too.
2013-07-22 22:59:47 +00:00
Mitchell Stokes 33e52d0df4 BGE: Fix for [#34398] "«illegal operator» in Expression Controller" reported by Andrey Kashlak (andreymal)
The expressions system now supports the not operator on ints and floats.
2013-07-22 22:46:17 +00:00
Campbell Barton 1b85328545 hidden-wire draw option: always use the cage when masking out faces otherwise modifiers give odd results. 2013-07-22 21:45:01 +00:00
Campbell Barton 0682ade250 fix/workaround for crash in ocean modifier when size is zero (causes invalid array index/lookups). 2013-07-22 21:02:45 +00:00
Campbell Barton 003df3d2de fix [#36247] Modifier Ocean (Geometry in Displace)- Subdivision Surface
regression in 2.68
2013-07-22 20:53:52 +00:00
Campbell Barton 3f53c33d4a fix [#36248] Crash using factor input on color mix node. 2013-07-22 19:59:07 +00:00
Sv. Lockal 6e98932e90 Allow creation of mask nodes in compositor with drag&drop of mask datablocks
Also remove superfluous "deselect all" operation in drag&drop for images
2013-07-22 19:24:39 +00:00
Campbell Barton 02b0c227fe fix regression in 2.68 [#36240] Painting Undo Enable Face paint Crash 2013-07-22 18:19:02 +00:00
Campbell Barton e590abfb87 optimization:
- halve the number of allocs in layerInterp_mdeformvert list creation.
- use direct loop access in emDM_copyLoopArray
2013-07-22 18:01:27 +00:00
Campbell Barton 90fdaa8219 optimization: lazy initialize EditDerivedBMesh members vertexNos, polyNos.
also add polyCos array which cache's face centers, gives overall ~20% speedup to drawing on a high-poly mesh in face-editmode.
2013-07-22 16:49:37 +00:00
Sergej Reich be7004237c cloth: Fix [#36224] Cloth Simulation Doesn't Work on Rearranging Modifiers
Don't return imediately when simulation has changed.
It's not needed and prevented proper initialization on startframe when
simulation changed.
2013-07-22 15:35:29 +00:00
Campbell Barton 57ce6d1470 old todo, rotate around individual origins now supports connected face/edge islands.
previously this gave very odd/annoying results, see bug reports [#36134], [#35419]
2013-07-22 14:50:38 +00:00
Campbell Barton 9634f8f115 transform was flushing the selection (inline), now skip this and use the selection as-is.
flush the selection on entering editmode instead (since the selection mode can be changed with another mesh).
is other tools leave the selection incorrectly flushed, those will need to be fixed so transform works as expected.
2013-07-22 10:44:24 +00:00
Lukas Toenne e8b02626f2 Show full image node detail buttons in the sidebar. The image nodes in compositor, cycles and texture nodes were showing a very reduced version of the image data block UI, based on the idea of fitting it
into the confined space of a node. However, in the side bar panel there is no reason to limit the buttons. In fact it is very helpful to have this UI available, otherwise users have to have an image
editor or (BI) texture buttons window next to the node editor to access these image details.
2013-07-22 08:56:51 +00:00
Campbell Barton 7398c49776 add support for BM_mesh_calc_face_groups to use vertex connectivity (not currently used yet) 2013-07-22 08:12:50 +00:00
Sv. Lockal bb1503417b Fix crash in adding a new mask point after subdividing an inactive spline
add_vertex_extrude relies on active spline for containing an active point
2013-07-21 17:59:36 +00:00
Jason Wilkins 4dfe00c802 _MSV_VER should be _MSC_VER 2013-07-21 17:16:04 +00:00
Campbell Barton 8bf5ec4f8a code cleanup: de-duplicate BLI_ghashIterator_new/init and disable unused text undo print function. 2013-07-21 17:05:41 +00:00
Campbell Barton cfc13e179a correct switch statement: image_listener NC_GEOM was falling through to NC_OBJECT 2013-07-21 17:04:54 +00:00
Campbell Barton 4d47f5fe05 snap to cursor (offset option) added for UV's too. 2013-07-21 16:45:38 +00:00
Campbell Barton b8c3efc8c3 code cleanup: compiler warnings 2013-07-21 16:40:34 +00:00
Sergey Sharybin 44a43ead67 Merging r58464 through r58474 from trunk into soc-2013-depsgraph_mt 2013-07-21 14:35:33 +00:00
Sergey Sharybin 08ef5adb93 Fixes for recent Wlimit stuff, which makes strict gcc freak out 2013-07-21 14:26:27 +00:00
Campbell Barton d8829122ba using shift +/- to dolly with a locked camera now works. 2013-07-21 09:59:08 +00:00
Campbell Barton 177ea51fab fix for unintended fall-through in switch statement, also reduce undo_pos increments in text editor. 2013-07-21 08:34:02 +00:00
Campbell Barton e9cf211c9b style cleanup: depsgraph.c, committing separate since 2 gsoc branches modify. 2013-07-21 08:23:35 +00:00
Campbell Barton 7db1d6556d code cleanup: add break statements in switch ()'s, (even at the last case). 2013-07-21 08:16:37 +00:00
Sergey Sharybin 2d7a425381 Merging r58362 through r58463 from trunk into soc-2013-depsgraph_mt 2013-07-21 08:14:59 +00:00
Campbell Barton 3ec1daaa77 fix [#36234] Dynamic Topology undo crash 2013-07-21 03:59:24 +00:00
Campbell Barton 7233f22e21 add new snap option: 'Selection to Cursor (Offset)',
rather then moving everything into the cursor location, the current selection centers around the cursor, maintaining their relative distances.
works for mesh, object, pose bones etc.
2013-07-20 17:12:33 +00:00
Thomas Dinges 8e0f73239f Merged revision(s) 58450 from trunk/blender into soc-2013-dingto. 2013-07-20 15:47:53 +00:00
Thomas Dinges 19b5fc17dc Merged revision(s) 58424-58448 from trunk/blender into soc-2013-dingto
Had to resolve manual conflict in addon/ui.py and blender/blender_sync.cpp due to Non-Progressive integrator, which is enabled in my branch.
2013-07-20 15:46:49 +00:00
Campbell Barton 6eb580e15c fix for bug snapping multiple pose bones to the cursor (it would apply pose transformation multiple times),
also named cursor vars more clearly.
2013-07-20 15:43:48 +00:00
Thomas Dinges 715855d0b9 Merged revision(s) 58356-58423 from trunk/blender into soc-2013-dingto.
Note: Keep own splash.
2013-07-20 15:34:19 +00:00
Campbell Barton 49c61e169b misc edits
- fix for missing None check with recent 'Hidden Wire' draw option.
- avoid int overflow with mesh selection.
- remove ';' outside of functions.
2013-07-20 15:07:57 +00:00
Sv. Lockal 8ff67f12c7 Fix descriptions for mask selection operators and use less ambiguous "letter-spacing" term 2013-07-20 12:24:53 +00:00
Sv. Lockal 3de1458cdf Select more/less tool for mask splines 2013-07-20 10:24:16 +00:00
Campbell Barton 32f3771d0b hidden wireframe option for mesh editmode, important for retopology mode (can be used with xray). 2013-07-20 03:51:49 +00:00
Daniel Stokes ef4d599194 Changing the python error when accessing SCA_JoystickSensor.axisSingle in the wrong mode to an AttributeError instead of a TypeError as this more accurately reflects the problem. 2013-07-20 03:15:57 +00:00