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
08ef5adb93
Fixes for recent Wlimit stuff, which makes strict gcc freak out
2013-07-21 14:26:27 +00:00
Thomas Dinges
636b314677
Code cleanup / Cycles:
...
* Remove useless else branch, after recent changes.
2013-07-21 10:30:22 +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
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
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
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
Thomas Dinges
363b04d15e
Cycles / Sampling Presets:
...
* Values were a bit too small for the Progressive integrator, now we use 12 and 24 (sqared).
2013-07-20 09:29:25 +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
Daniel Stokes
ff165fa986
Re fixing BGE bug [ #36223 ] Strange page fault of "Game" actuator
...
Thanks to Campbell for helping me get a better fix put together.
2013-07-20 03:01:50 +00:00
Tamito Kajiyama
65b932d9f1
Fix for docstring inconsistency in Stroke.stroke_vertices_end().
2013-07-20 01:45:18 +00:00
Mitchell Stokes
efad3eb928
Add the Boost include to the right CMakeLists.txt...
2013-07-20 01:17:00 +00:00
Mitchell Stokes
81769b4f58
More build fixes for r58428.
2013-07-20 01:15:36 +00:00
Campbell Barton
e3c3a6e2c8
fix own bad regression/bug, removing vertex colors crashes [ #36227 ]
2013-07-20 01:15:12 +00:00
Mitchell Stokes
f84563d213
SCons fix for r58428.
2013-07-20 01:09:16 +00:00
Mitchell Stokes
5645d9f720
Removing source files from source/gameengine/GamePlayer/common/SConscript that were removed in an earlier commit. This should allow SCons to build the game engine again.
2013-07-20 00:51:05 +00:00
Thomas Dinges
9732c6283e
Cycles / CPU Rendering:
...
* "Auto Detect" now again uses the umber of cores, instead number of cores + 1.
This was added before we had Tile rendering and benchmarks on several systems showed that there is no gain with this now. There might be some slight difference (0.5% or so) slower/faster depending on the scene, but this is negligible.
2013-07-20 00:40:03 +00:00
Campbell Barton
a2a99bbc17
edit to r58425, BLI_math is available here, better not copy,paste from linearrgb_to_srgb.
...
also remove redundant check in AUD_FFMPEGReader::seek.
2013-07-20 00:35:41 +00:00
Thomas Dinges
e3c9fcd1bb
* Compile fix for overloaded pow() function.
2013-07-20 00:21:16 +00:00
Campbell Barton
4b0f50597f
revert r58419. caller should do NULL check here.
2013-07-20 00:15:01 +00:00
Thomas Dinges
ac1d58d962
Cycles / Sampling Presets:
...
* Add Presets for Sampling. This comes with a simple Preview and Final preset, but as this is varying a lot depending on the scene, they should just be a starting point. The user can add own presets here.
* Some UI layout changes to match the settings a bit better.
2013-07-19 23:59:40 +00:00
Mitchell Stokes
cf62de6c6d
BGE: Partial fix for [ #36151 ] "Distance model not carrying over to standalone" reported by Florian Schneider (drjaska).
...
The Blenderplayer wasn't initializing 3D audio settings from the scene settings like the embedded player was.
2013-07-19 23:31:45 +00:00
Daniel Stokes
017f09b9d4
BGE fix [ #35195 ] Shadow Only lamps only work with Specular enabled
...
The way we do shadow only doesn't work well with colored shadows, though it does work if you apply enough light to the shadow.
2013-07-19 23:00:42 +00:00
Thomas Dinges
51a3371d87
Code cleanup / Cycles:
...
* Use USHRT_MAX rather than manual value, suggested by Campbell.
2013-07-19 22:56:54 +00:00
Daniel Stokes
a07ac7e644
BGE fix [ #35563 ] Object colour setting for objects and fonts not using colour management like materials
2013-07-19 22:54:02 +00:00
Thomas Dinges
d336ae8992
Cycles / Sampling UI:
...
* Add a "Squared Samples" option to the UI, to use squared values for ease of use. This can make it easier from an artist point of view, to weak settings.
With this enabled, all Sample values will be squared. So 10 Samples become 100 Samples.
For the Non-Progressive integrator: 4 AA Samples * 5 Diffuse Samples would become 16 AA Samples * 25 Diffuse = 400 in total.
Patch by Matt Heimlich, with some minor edits by myself. Thanks!
2013-07-19 22:51:48 +00:00
Mitchell Stokes
3cd53aff09
Merging from ge_dev to trunk r58091-58422.
2013-07-19 22:37:40 +00:00
Daniel Stokes
23dccfadf0
Bge fix [ #33016 ] Blender crashes when I start the game engine
...
Caused by a bit of a disconnect from the BGE mesh and BMesh.
2013-07-19 22:11:26 +00:00
Mitchell Stokes
103ef7cacb
Merged changes from trunk r58324-58419.
2013-07-19 22:10:11 +00:00
Daniel Stokes
318aacbc8c
Cleaning up some warnings that occur when an invalid navmesh is generated.
2013-07-19 22:07:38 +00:00
Daniel Stokes
869d654ccc
BGE fix [ #36223 ] Strange page fault of "Game" actuator
...
Adding a NULL check to BLI_ghash_lookup
2013-07-19 22:04:06 +00:00
Bastien Montagne
68c0028ebc
Add Tamil characters to our i18n font (from samyak-tamil).
2013-07-19 20:28:46 +00:00