Commit Graph

52002 Commits

Author SHA1 Message Date
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 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
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
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
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
Daniel Genrich ef67ddeba9 Bugfix [#29186] Object contribute to fluid sim animation start earlier than keyframe
Also fix:
- Fluid simulation was always lagging 1 frame behind: E.g. the 250th frame in blender showed 249th frame of the fluid simulation.

Change:
- Animated enabled/disabled property only gets counted as "on" if value >= 1

Note that this bugfix should solve many problems with timings of animated fluid sim properties.
2012-11-23 05:00:07 +00:00
Howard Trickey 7189a9db51 Fix bevel crash in OSX debug build.
Code to select from output slot moved before
EDBM_op_finish, which frees slot buffers.
2012-11-23 03:15:16 +00:00
Joshua Leung 08d5bad60d Bugfix [#33268] Crash when delete all or segment from curve with SplineIK
Path rebuild may fail after certain editing operations. Instead of blindly
assuming that path rebuilds will always succeed, we now give up trying to
evaluate in case of failure.
2012-11-22 23:19:15 +00:00
Joshua Leung c8734334a1 Style: AnimData vars should be named "adt" NOT "ad" 2012-11-22 22:58:01 +00:00
Brecht Van Lommel 773f459c90 Fix #33265: editing uv vertex coordinates in panel could move hidden uv's. 2012-11-22 17:12:41 +00:00
Sergey Sharybin 3583686433 Fix #33264: Array MOD First Last option does nothing 2012-11-22 12:03:15 +00:00
Sergey Sharybin be61d4eeac Fix for animation possible offset in sequencer.
BKE_scene_update_for_newframe should be called before RE_BlenderFrame in
seq_render_scene_strip. It's not entirely nice, but bot sure about better
solution for now.
2012-11-22 11:45:52 +00:00
Sergey Sharybin 13e528240c Fix #33263: Sequencer Command Line Bugs
Was own regressions since recursive sequencer commit.
2012-11-22 11:45:39 +00:00
Mitchell Stokes 9968778373 BGE: KX_ACT_ARMATURE_SETINFLUENCE constant for BL_ArmatureActuator.type was documented but not actually added to bge.logic. 2012-11-22 11:03:17 +00:00
Campbell Barton 9682108113 minor speedup for bevel, avoid calling find_bevvert() when we know the edge isn't beveled. 2012-11-22 11:02:57 +00:00
Campbell Barton 449369adf3 minor edit to console line adding, all callers have the console space, may as well pass it. 2012-11-22 09:57:38 +00:00
Campbell Barton 62331fd0f8 fix for clear line adjusting console selection. 2012-11-22 09:49:56 +00:00
Campbell Barton 93ad97c131 avoid string -> unicode conversion when registering classes, also avoid unlikely but possible crash if the py-class returns new instances of PyObjects it doesnt own when registering the class. 2012-11-22 08:45:32 +00:00
Mitchell Stokes 30a292b61f BGE: KX_PhysicsObjectWrapper was not being used anywhere in the code base, but it was being maintained (style, docs, name changes, etc), so I'm removing it. 2012-11-22 07:08:02 +00:00
Mitchell Stokes 6577117c4e BGE: Removing some glIsEnabled() calls from DisableForText() in KX_BlenderGL.cpp. Use of glIsEnabled() is discouraged since it causes a potential sync with the graphics card. Also, it's faster to just always use glDisable() (even if that feature is already disabled) then to check if it's enabled first. 2012-11-22 06:11:05 +00:00
Campbell Barton 89b0b0516e bge camera axix actuator was undocumented and python had incorrect limits on this attribute. 2012-11-22 05:33:05 +00:00
Campbell Barton 796988adc9 modify the python stub to include __file__ and __name__, also correct odd indent in KX_KetsjiEngine.cpp 2012-11-22 05:20:51 +00:00
Campbell Barton 9d0334bc74 add missing bgl and gpu api docstrings (found using docstring completeness checker) 2012-11-22 05:15:52 +00:00
Campbell Barton 55535b21fe fix own error - remove doubles slot name. 2012-11-22 01:00:40 +00:00
Brecht Van Lommel 629ea82a13 Fix 33149: LLVM caused startup crash on linux systems using Mesa llvmpipe.
Now we hide the LLVM symbols with an ld version script to avoid conflicts.
2012-11-21 22:28:15 +00:00
Antonis Ryakiotakis 031230265c Fix: Normal maps and triangulate modifier will give incorrect result on
rectangular faces after applying rotation, reported by Metalliandi

This issue is caused by floating point precision error. After applying
rotation, the edge lengths change slightly and on rectangular faces the
length comparison can be flipped. Solved by giving a slight offset to
the length calculation for the diagonal during triangulation
calculation. (Same as done during uv unwrapping)
2012-11-21 21:42:07 +00:00
Campbell Barton e72ee8ec19 fix [#29633] Mirror-Y also flips Z axis
Was floating point precision error (FLT_EPSILON was too small).
2012-11-21 13:39:32 +00:00
Howard Trickey 0d27c16894 bevel: fix bug where constructed where parallel test
didn't work (angle check too sensitive). Caused some
(nan,nan,nan) results from offset_in_two_planes.
2012-11-21 13:07:03 +00:00
Sergey Sharybin fde8b0f7bc Patch #33242: ffmpeg AAC/AC3 encoding
Patch by David M (erwin94), thanks!

Also made Vorbis codec using float sample_fmt, otherwise it didn't work
with new FFmpeg.

Perhaps we can make it more clear by explicitly separating audio_input_buffer
for float and integer buffers, but as far as it works i'm not so fussed about
this atm.
2012-11-21 11:57:35 +00:00
Sergey Sharybin feadc66c5e Fix #33222: When rendering DPX it's flipped in the Image Editor
Avoid using IMB_flipy from image save callback. It will use a bit more
memory but wold be thread-safe.
2012-11-21 11:10:37 +00:00