Commit Graph

42980 Commits

Author SHA1 Message Date
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
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
Brecht Van Lommel
ed986b62e8 Fix #33152: cycles SVM crash with certain shader nodes setups where closures would
appear multiple times after flattening the mix/add shader part of the graph into a
tree structure.
2012-11-24 14:50:21 +00:00
Jason Wilkins
9b701b7d32 cineonlib.c: Quieted warning, inconsistency between printf format (%lu) and the type of an argument (uintptr_t??)
The struct member is an unsigned int, not a pointer, so it is mysterious why the orignal code cast it to an uintptr_t.

I changed the code to cast it to an unsigned long so that it matches the format.
2012-11-24 14:19:21 +00:00
Mitchell Stokes
993d5e58bd BGE: Implementing a fix for the "Problem With Clock" issues reported in #32708 and #33088. At the moment this feels like a bit of a stop gap, but it does solve the stuttering issue that #33088 mentioned. 2012-11-24 08:10:56 +00:00
Campbell Barton
8be86d3254 use a search popup for 'blend from shape' tool, suggested by Juan Pablo.
use standard operator panel, since the popup was too easy to cancel by accident, especially with a popup search menu.
2012-11-24 05:38:20 +00:00
Campbell Barton
8fc11f79c5 quiet warning about the context not being used when internationalization is disabled. 2012-11-24 05:36:48 +00:00
Campbell Barton
dd9a2ead27 add ENUM support for layout.prop_search() / uiItemPointerR 2012-11-24 05:15:48 +00:00
Campbell Barton
d3a01ceeea correct warning messages - ptr/prop mismatch. 2012-11-24 04:51:56 +00:00
Campbell Barton
ae9675a585 disable GL_MULTISAMPLE_ARB by default on X11 (same as OSX cocoa) 2012-11-24 01:06:54 +00:00
Campbell Barton
7c004d2892 remove USER_DISABLE_AA/use_antialiasing, this wasn't available from the UI but would be confusing if someone had it set from an old file. 2012-11-24 00:59:10 +00:00
Mitchell Stokes
89f4566930 BGE: Committing a patch from HG1 to fix [#30262] "bgl.glClipPlane don't work on Nvidia cards," which was also reported by HG1. 2012-11-24 00:58:57 +00:00
Brecht Van Lommel
d8c257faa7 IK Solver:
* Rename Legacy to Standard, it's not being deprecated as far as I know.
* Make option to toggle off Location solving work with Standard.
* Make it converge a bit better in some cases by enforcing a minimum number of
  iterations before giving up.
* Move IK solver choice out of bone panel, it's an armature level setting and
  should be set there.
2012-11-24 00:18:34 +00:00
Brecht Van Lommel
7cc12e5170 Fix #33279: crash in particle brush cut tool when cutting hairs that go outside the view. 2012-11-23 21:22:13 +00:00
Brecht Van Lommel
f5bf63dc96 Fix #33277: vertex merge would merge UVs by default, disabled that now by again
like it did before bmesh.

Neither method is perfect, ideally it should do smart detection of UV islands
but without that it's better to disable because it is more difficult to recover
from incorrectly merged UVs than ones that were not merged.
2012-11-23 19:10:56 +00:00
Brecht Van Lommel
2a9b5e8f81 Fix #33267: cycles math node power gave different results for CPU and GPU. The
GPU variants do not support pow(-1, 2), it doesn't check for even exponents, do
manually now.
2012-11-23 17:39:41 +00:00
Bastien Montagne
bb7fdc7935 Handle of new BLF_I18N_MSGID_MULTI_CTXT macro, which allows to define a same msgid in up to 16 different contexts at once. 2012-11-23 15:35:16 +00:00
Bastien Montagne
00b1d50532 Basic work to solve "New" translation mismatch (this is an adjective, which often takes several forms depending on its related noun's gender, in non-english languages). Note though this does not completly solve the problem (python "New" is still uncontextual).
Moved AUDIO context to ID_SOUND (let's try to keep this as simple as possible!).

Also done some cleanup. Relevant i18n tools edits will follow.
2012-11-23 15:33:44 +00:00
Jason Wilkins
69b88cf719 Patch [#33196] Warning Fixes 11-16-2012
* MEM_CacheLimitier - Size type to int conversion, should be safe for now (doing my best Bill Gates 640k impression)
* OpenNL CMakeLists.txt - MSVC and GCC have slightly different ways to remove definitions (DEBUG) without the compiler complaining
* BLI_math inlines - The include guard name and inline option macro name should be different. Suppressed warning about not exporting any symbols from inline math library
* BLI string / utf8 - Fixed some inconsistencies between declarations and definitions
* nodes - node_composite_util is apparently not used unless you enable the legacy compositor, so it should not be compiled in that case.

Leaving out changes to BLI_fileops for now, need to do more testing.
2012-11-23 15:12:13 +00:00
Justin Dailey
c407c951a0 Text Editor: remove text marker functionality. Patch [#33251] 2012-11-23 14:33:14 +00:00
Brecht Van Lommel
c25cfd3044 Fix cycles AO issue, still was missing AO pass for black/non-diffuse objects. 2012-11-23 13:41:25 +00:00
Sergey Sharybin
c8767b514d m_overlay wasn't initialized in a constructor of FastGaussianBlurValueOperation 2012-11-23 12:54:44 +00:00
Sergey Sharybin
587067b4fc Fix usage of uninialized memory in some operations
- FastGaussianBlurValueOperation is a value operation, so use only first vector
  component in initializeTileData.

- Gamma correct/uncorrect operations didn't set alpha for output which lead to
  usage of uninitialzied memory further in nodes graph.
2012-11-23 12:50:59 +00:00
Brecht Van Lommel
12f31472d6 Fix related to #33259: cycles normal map node color input couldn't be
disconnected properly with dragging.
2012-11-23 12:42:01 +00:00
Lukas Toenne
130c60efa0 Compositor: Disabled debug assert checks for connected input sockets after convertToOperations. This breaks quite a lot and is not really necessary, since connected Node inputs are ignored later on. Connected outputs however are still forbidden, this indicates a real bug. 2012-11-23 12:39:49 +00:00
Campbell Barton
1b32f258e7 ifdef'd gcc diagnostic pragma's to quiet msvc and others. 2012-11-23 10:03:50 +00:00
Sergey Sharybin
83169542c5 Fix #33271: Box tool delay
Issue was introduced in svn rev51808 which was a fix for #33038

One of changes in that patch lead to a situation that if some keymap don't have
modifier key it wouldn't be triggered in cases modifier key was pressed.
2012-11-23 10:00:15 +00:00
Sergey Sharybin
84fb45c2a5 Fix #33266: Transforming with Y axis constraint didn't apply aspect ratio correct
It first needed to constraint numeric input and then apply aspect correction only,
otherwise aspect correction would be applied on a wrong axis.
2012-11-23 09:22:34 +00:00
Sergey Sharybin
d35565c2e7 Fix #33270: Opening file browser crashes when sequencer preview is visible
Crash only happens if thumbnails are enabled and crash was caused by removing
jobs while iterating them.
2012-11-23 07:54:04 +00:00
Mitchell Stokes
f22fb939d3 BGE Docs: Adding some docs for some of the Steering Actuator attributes. I grabbed the docs from the UI descriptions from RNA for the Steering Actuator. However, these aren't the best descriptions, and both the UI descriptions and the docs could use some attention. Also, steeringVec and facingMode didn't have corresponding UI elements, so I've left them undocumented for now. Someone who knows what they do can hopefully document them. 2012-11-23 07:47:53 +00:00
Campbell Barton
8ab5aa6e8d code cleanup: warning & style 2012-11-23 06:35:06 +00:00
Campbell Barton
b688a79b30 skip some redundant looping in bevel code. 2012-11-23 06:09:03 +00:00
Campbell Barton
0446e2571f fix for inset getting bad UV's/VCols at face boundaries. 2012-11-23 05:49:00 +00:00