9 years agosvn merge ^/trunk/blender -r46380:HEAD
Ove Murberg Henriksen [Tue, 8 May 2012 00:22:02 +0000 (00:22 +0000)]
svn merge ^/trunk/blender -r46380:HEAD

9 years agosvn merge ^/trunk/blender -r46380:46390
Ove Murberg Henriksen [Tue, 8 May 2012 00:12:47 +0000 (00:12 +0000)]
svn merge ^/trunk/blender -r46380:46390

9 years agosvn merge ^/trunk/blender -r46370:46380
Ove Murberg Henriksen [Tue, 8 May 2012 00:09:00 +0000 (00:09 +0000)]
svn merge ^/trunk/blender -r46370:46380
1 Tree conflict
I deleted the source/tools/GL and then ran:
svn -r46380 co
svn resolve --accept working -R source/tools/GL

9 years agosvn merge ^/trunk/blender -r46360:46370
Ove Murberg Henriksen [Mon, 7 May 2012 23:40:17 +0000 (23:40 +0000)]
svn merge ^/trunk/blender -r46360:46370

9 years agosvn merge ^/trunk/blender -r46340:46350
Ove Murberg Henriksen [Mon, 7 May 2012 23:36:22 +0000 (23:36 +0000)]
svn merge ^/trunk/blender -r46340:46350

9 years agosvn merge ^/trunk/blender -r46340:46350
Ove Murberg Henriksen [Mon, 7 May 2012 23:27:27 +0000 (23:27 +0000)]
svn merge ^/trunk/blender -r46340:46350

9 years agosvn merge ^/trunk/blender -r46335:46340
Ove Murberg Henriksen [Mon, 7 May 2012 23:23:55 +0000 (23:23 +0000)]
svn merge ^/trunk/blender -r46335:46340

1 tree conflict. Resolved:
I deleted source/tools/GL.
Then I checked out folder from trunk (revision 46340)
Then I ran: resolve --accept working source/tools/GL

9 years agosvn merge ^/trunk/blender -r46330:46335
Ove Murberg Henriksen [Mon, 7 May 2012 22:28:59 +0000 (22:28 +0000)]
svn merge ^/trunk/blender -r46330:46335

9 years agoadding kernel_projection.h in CMakelists
Dalai Felinto [Mon, 7 May 2012 20:37:48 +0000 (20:37 +0000)]
adding kernel_projection.h in CMakelists

9 years agoCycles: add light falloff node, with quadratic/linear/constant falloff and a
Brecht Van Lommel [Mon, 7 May 2012 20:24:38 +0000 (20:24 +0000)]
Cycles: add light falloff node, with quadratic/linear/constant falloff and a
smoothing factor to reduce high values near the light.

Note that this was already possible to do manually with the Ray Length, but
this adds a convenient node for it. This commit also makes the mapping node
min/max option work, fixing #31348.

9 years agoCollada: patch #31331: added missing call to BKE_mesh_tessface_ensure() when 'apply...
Gaia Clary [Mon, 7 May 2012 19:08:01 +0000 (19:08 +0000)]
Collada: patch #31331: added missing call to BKE_mesh_tessface_ensure() when 'apply Modifiers' was NOT selected

9 years agostyle cleanup: avi
Campbell Barton [Mon, 7 May 2012 18:30:04 +0000 (18:30 +0000)]
style cleanup: avi

9 years agofix [#31354] Segfault with "Extrude Individual Faces and Move"
Campbell Barton [Mon, 7 May 2012 18:12:31 +0000 (18:12 +0000)]
fix [#31354] Segfault with "Extrude Individual Faces and Move"

9 years agoCollada: patch #31331: Implementation of 'Apply Modifiers'
Gaia Clary [Mon, 7 May 2012 18:09:59 +0000 (18:09 +0000)]
Collada: patch #31331: Implementation of 'Apply Modifiers'

9 years agofix [#31347] solidify modifier > even thickness parameter weired
Campbell Barton [Mon, 7 May 2012 18:07:34 +0000 (18:07 +0000)]
fix [#31347] solidify modifier > even thickness parameter weired

9 years agostyle cleanup: outliner
Campbell Barton [Mon, 7 May 2012 17:56:30 +0000 (17:56 +0000)]
style cleanup: outliner

9 years agocycles-fisheye: fixed formula for dir to equisolid
Dalai Felinto [Mon, 7 May 2012 17:22:13 +0000 (17:22 +0000)]
cycles-fisheye: fixed formula for dir to equisolid
second time I need a scond commit to get the equisolid formula right, shame on me ;)
the formula is:
r = 2 x focallength x sin (theta / 2)

9 years agodirection to equisolid - final fix for [#31307] Cycles panoramic fisheye lens and...
Dalai Felinto [Mon, 7 May 2012 16:51:55 +0000 (16:51 +0000)]
direction to equisolid - final fix for [#31307] Cycles panoramic fisheye lens and vector pass problem

9 years agoSome misc fixes to UI messages...
Bastien Montagne [Mon, 7 May 2012 15:50:57 +0000 (15:50 +0000)]
Some misc fixes to UI messages...

9 years agofix for solidify modifier angle calculation (was incorrectly using normalized angle...
Campbell Barton [Mon, 7 May 2012 15:45:41 +0000 (15:45 +0000)]
fix for solidify modifier angle calculation (was incorrectly using normalized angle function)

9 years agoGHOST/Cocoa: revert tablet detection commit for continuous grab, apparently it is
Brecht Van Lommel [Mon, 7 May 2012 13:42:25 +0000 (13:42 +0000)]
GHOST/Cocoa: revert tablet detection commit for continuous grab, apparently it is
already doing it and this change breaks something? Still it seems strange that it
is doing tablet stuff in this part of the code then.

9 years agoGHOST/Cocoa: detect tablet event to disable continuous grab. Don't have tablet
Brecht Van Lommel [Mon, 7 May 2012 10:53:12 +0000 (10:53 +0000)]
GHOST/Cocoa: detect tablet event to disable continuous grab. Don't have tablet
to test it though, can someone with Mac + tablet confirm if continuous grab
gets automatically disabled when using the tablet?

9 years agoFix most of #31307: cycles panorama camera not working correct with speed
Brecht Van Lommel [Mon, 7 May 2012 10:53:09 +0000 (10:53 +0000)]
Fix most of #31307: cycles panorama camera not working correct with speed
vectors and window texture coordinates. Only for Fisheye Equisolid it's
still not working correct yet. Patch from Dalai with modifications.

9 years agoStyle cleanup: change ffmpeg, avi and frame server api to rna-ish naming style
Sergey Sharybin [Mon, 7 May 2012 09:30:15 +0000 (09:30 +0000)]
Style cleanup: change ffmpeg, avi and frame server api to rna-ish naming style

9 years agoCleanup of intern/SConstript: CSG is not in source tree anymore, remove option to...
Sergey Sharybin [Mon, 7 May 2012 09:01:55 +0000 (09:01 +0000)]
Cleanup of intern/SConstript: CSG is not in source tree anymore, remove option to use it

9 years agoWoops, some unwanted spaces remained in source files.
Sergey Sharybin [Mon, 7 May 2012 08:55:29 +0000 (08:55 +0000)]
Woops, some unwanted spaces remained in source files.

9 years agoStyle cleanup of own modules using style checker from Campbell.
Sergey Sharybin [Mon, 7 May 2012 08:53:59 +0000 (08:53 +0000)]
Style cleanup of own modules using style checker from Campbell.

9 years agoStyle cleanup: displist module
Sergey Sharybin [Mon, 7 May 2012 06:58:03 +0000 (06:58 +0000)]
Style cleanup: displist module

9 years agoStyle cleanup: rename BKE_metaball* to BKE_mball -- mball is more commonly used term...
Sergey Sharybin [Mon, 7 May 2012 06:38:41 +0000 (06:38 +0000)]
Style cleanup: rename BKE_metaball* to BKE_mball -- mball is more commonly used term in Blender

9 years agoStyle cleanup in readfile versioning files
Sergey Sharybin [Mon, 7 May 2012 06:32:14 +0000 (06:32 +0000)]
Style cleanup in readfile versioning files

9 years agosvn merge ^/trunk/blender -r46300:46330
Ove Murberg Henriksen [Mon, 7 May 2012 01:04:52 +0000 (01:04 +0000)]
svn merge ^/trunk/blender -r46300:46330

9 years agosvn merge ^/trunk/blender -r46100:46200
Ove Murberg Henriksen [Sun, 6 May 2012 23:06:24 +0000 (23:06 +0000)]
svn merge ^/trunk/blender -r46100:46200

9 years agoFix mac build error after ghost cocoa changes.
Brecht Van Lommel [Sun, 6 May 2012 22:36:51 +0000 (22:36 +0000)]
Fix mac build error after ghost cocoa changes.

9 years agosvn merge ^/trunk/blender -r46000:46100
Ove Murberg Henriksen [Sun, 6 May 2012 22:19:13 +0000 (22:19 +0000)]
svn merge ^/trunk/blender -r46000:46100

some conflicts. had to backup my code, accept with "tc" and introduce my own code again.
Hope I didnt leave anything out.

9 years agoCode cleanup: make changes suggested by check_style for sculpt-related files.
Nicholas Bishop [Sun, 6 May 2012 22:12:26 +0000 (22:12 +0000)]
Code cleanup: make changes suggested by check_style for sculpt-related files.

9 years agoFix float image loading crash in cycles after multithreading changes.
Brecht Van Lommel [Sun, 6 May 2012 22:06:14 +0000 (22:06 +0000)]
Fix float image loading crash in cycles after multithreading changes.

9 years agosvn merge ^/trunk/blender -r45927:46000
Ove Murberg Henriksen [Sun, 6 May 2012 19:32:53 +0000 (19:32 +0000)]
svn merge ^/trunk/blender -r45927:46000

9 years agofix for limited dissolve (after sine intended fixes - not cleaning up before vertex...
Campbell Barton [Sun, 6 May 2012 18:37:08 +0000 (18:37 +0000)]
fix for limited dissolve (after sine intended fixes - not cleaning up before vertex dissolve would skip dissolving some verts that should be dissolved).

now do this:
- edge dissolve
- cleanup (removing edges left over from dissolving faces)
  cleanup removes verts and NULL vertex input array
- dissolve verts which haven't been removed.

9 years agofix [#31197] Limited dissolve leaves faces/edges/verts behind
Campbell Barton [Sun, 6 May 2012 18:04:37 +0000 (18:04 +0000)]
fix [#31197] Limited dissolve leaves faces/edges/verts behind

bad bug where vertices could be in a face more then once (which isn't allowed), now check for this when creating a face.

9 years agostyle cleanup: blenkernel
Campbell Barton [Sun, 6 May 2012 17:22:54 +0000 (17:22 +0000)]
style cleanup: blenkernel

9 years agoED_vgroup_copy_by_nearest_vertex_single:
Ove Murberg Henriksen [Sun, 6 May 2012 17:19:16 +0000 (17:19 +0000)]
Added transformation into target space
Is incomplete. BVHTree fails.

9 years agoMesh elements sorting refactor.
Bastien Montagne [Sun, 6 May 2012 17:14:56 +0000 (17:14 +0000)]
Mesh elements sorting refactor.

Now only one operator. Same options for vertices, edges and faces (so adds edges sorting, and some options to vertices sorting).

Face sorting should behave as previously. However, XSortVerts won’t pack anymore selected vertices at the begining of the vert array (as it used to), if you want such behavior you’ll have to first run SortElements with Selected action.

Also added bug ref I forgot in r46354 (armature.c).

9 years agocode cleanup: documentation commit
Campbell Barton [Sun, 6 May 2012 16:28:52 +0000 (16:28 +0000)]
code cleanup: documentation commit

9 years agocode cleanup: add getCursorGrabModeIsWarp(), makes the intent more clear where we...
Campbell Barton [Sun, 6 May 2012 15:59:57 +0000 (15:59 +0000)]
code cleanup: add getCursorGrabModeIsWarp(), makes the intent more clear where we check for mouse warping.

9 years agodisable warping for tablet events (X11 only), added TODO's for OSX and win32.
Campbell Barton [Sun, 6 May 2012 15:45:48 +0000 (15:45 +0000)]
disable warping for tablet events (X11 only), added TODO's for OSX and win32.

9 years agoFix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving armature...
Bastien Montagne [Sun, 6 May 2012 15:40:49 +0000 (15:40 +0000)]
Fix for [#31333] 2.63 Bone copy rotation becomes mad after entering/leaving armature edit mode

There is no real good solution to this problem, hopefully this threshold value will be a good compromize this time... :(

9 years agoCode cleanup: patch by Thomas to fix PassType values to be consecutive.
Brecht Van Lommel [Sun, 6 May 2012 15:19:36 +0000 (15:19 +0000)]
Code cleanup: patch by Thomas to fix PassType values to be consecutive.

9 years agostyle cleanup: BKE_*.c files which deal with library functions
Campbell Barton [Sun, 6 May 2012 15:15:33 +0000 (15:15 +0000)]
style cleanup: BKE_*.c files which deal with library functions

9 years agoLast part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Bastien Montagne [Sun, 6 May 2012 15:03:31 +0000 (15:03 +0000)]
Last part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Only remaining undocumented one is IMAGE_OT_record_composite (not sure what it actually does, nor even whether it’s actually working or not...).

Note that I didn’t bother with operators flagged as OPTYPE_INTERNAL!

9 years agoupdate for recent RNA change
Campbell Barton [Sun, 6 May 2012 13:41:27 +0000 (13:41 +0000)]
update for recent RNA change

9 years agostyle cleanup: modifiers
Campbell Barton [Sun, 6 May 2012 13:38:33 +0000 (13:38 +0000)]
style cleanup: modifiers

9 years agofix for same bug as r46346, incorrect code was copied.
Campbell Barton [Sun, 6 May 2012 13:00:56 +0000 (13:00 +0000)]
fix for same bug as r46346, incorrect code was copied.

9 years agofix for error in MOD_weightvgmix.c caused by confusion without braces.
Campbell Barton [Sun, 6 May 2012 12:52:42 +0000 (12:52 +0000)]
fix for error in MOD_weightvgmix.c caused by confusion without braces.

CustomData_add_layer_named would run even when the dvert layer was found.

9 years agoBugfix [#31003] Animation data (e.g. actions, drivers) from the active material
Joshua Leung [Sun, 6 May 2012 12:37:19 +0000 (12:37 +0000)]
Bugfix [#31003] Animation data (e.g. actions, drivers) from the active material
of a material nodetree was not visible in the Animation Editors

9 years agoadd back pose specials menu, also add back the ability to clear user transforms on...
Campbell Barton [Sun, 6 May 2012 12:13:45 +0000 (12:13 +0000)]
add back pose specials menu, also add back the ability to clear user transforms on all bones (not just selected - mango request - was possible in 2.4x).

- rename only_select op property to only_selected (both were used).
- only do mingw workaround when building with FREE_WINDOWS defined.

9 years agoBugfix [#31330] Shape Key Editor does not switch to assigned Key Action
Joshua Leung [Sun, 6 May 2012 09:41:38 +0000 (09:41 +0000)]
Bugfix [#31330] Shape Key Editor does not switch to assigned Key Action

9 years agoFix for [#31327] Text editor menu incorrect (Patch attached)
Bastien Montagne [Sun, 6 May 2012 07:59:37 +0000 (07:59 +0000)]
Fix for [#31327] Text editor menu incorrect (Patch attached)

Patch by Justin Dailey, thx!

9 years agoTimeline Header: Only show the "use active keyingset only" toggle (beside the
Joshua Leung [Sun, 6 May 2012 06:57:02 +0000 (06:57 +0000)]
Timeline Header: Only show the "use active keyingset only" toggle (beside the
autokey button) if autokeying is enabled. This was only useful when the latter
was actually enabled.

9 years agoBugfix [#31297] Transform menu often showed operators which didn't make sense
Joshua Leung [Sun, 6 May 2012 06:37:07 +0000 (06:37 +0000)]
Bugfix [#31297] Transform menu often showed operators which didn't make sense
for the contexts they appeared in

The VIEW3D_MT_transform menu was being used everywhere, although not all the
operators there applied to the current mode (e.g. the pivot point, animated
transforms to deltas, and a few others were Object-mode only). Split off the
offending parts into separate menus for the specific modes, and made these
extend the basic menu type.

9 years agotypo, agle -> angle
Jason Wilkins [Sun, 6 May 2012 05:50:50 +0000 (05:50 +0000)]
typo, agle -> angle

9 years agoBugfix:
Joshua Leung [Sun, 6 May 2012 05:03:58 +0000 (05:03 +0000)]

While testing the other my previous commit (removing deformflag stuff), I
noticed that trying to change set a parent object for the current object (via
the Object Properties) would cause the current object to "blow up", and for
cyclic dependency warnings to be spewed to the console.

Adding a dummy usage of one of the vars here seems to solve it. Perhaps a case
of weirdo compiler optimisations?

9 years agoRemoving the old armature 'deform' settings (use vertex groups/envelopes/quats).
Joshua Leung [Sun, 6 May 2012 04:50:04 +0000 (04:50 +0000)]
Removing the old armature 'deform' settings (use vertex groups/envelopes/quats).

As far as I could tell, these were really only still used for "virtual
modifiers", though we really don't use these anymore. Instead, most of the time,
people need to set these settings in armature modifiers directly (these didn't
even get copied over in that case). This was a source of confusion and
redundancy, so removing these now.

This change can be reverted if these were actually of some use out there...

9 years agoBugfixes for Motion Path drawing/updating in light of the recent changes:
Joshua Leung [Sun, 6 May 2012 04:18:13 +0000 (04:18 +0000)]
Bugfixes for Motion Path drawing/updating in light of the recent changes:
* Added proper "update" operators in place of the abuse of the calculate
operators, so now the display ranges won't get overwritten everytime (with the
default values) you go to update the paths.

* Display range settings in properties editor now actually work. Before, the "In
Range" mode only displayed the entire paths.

9 years agoSimplifying constraints code - removed relink_data() callbacks in favour of a
Joshua Leung [Sun, 6 May 2012 01:27:48 +0000 (01:27 +0000)]
Simplifying constraints code - removed relink_data() callbacks in favour of a
more generic system which goes through id_looper(), reducing the maintainance
burden for new constraint authors

9 years agoDeleting action constraints (and a few others) now adjusts the usercounts of
Joshua Leung [Sun, 6 May 2012 01:03:51 +0000 (01:03 +0000)]
Deleting action constraints (and a few others) now adjusts the usercounts of
their referenced data correctly

9 years agocode cleanup: naming - BKE_mesh_*
Campbell Barton [Sat, 5 May 2012 21:28:12 +0000 (21:28 +0000)]
code cleanup: naming - BKE_mesh_*

9 years agoCycles: minor refactoring of fisheye code to fit code style.
Brecht Van Lommel [Sat, 5 May 2012 19:44:35 +0000 (19:44 +0000)]
Cycles: minor refactoring of fisheye code to fit code style.

9 years agoCycles: threading optimizations
Brecht Van Lommel [Sat, 5 May 2012 19:44:33 +0000 (19:44 +0000)]
Cycles: threading optimizations

* Multithreaded image loading, each thread can load a separate image.
* Better multithreading for multiple instanced meshes, different threads can now
  build BVH's for different meshes, rather than all cooperating on the same mesh.
  Especially noticeable for dynamic BVH building for the viewport, gave about
  2x faster build on 8 core in fairly complex scene with many objects.
* The main thread waiting for worker threads can now also work itself, so
  (num_cores + 1) threads will be working, this supposedly gives better
  performance on some operating systems, but did not measure performance for
  this very detailed yet.

9 years agoFix #31318: cycles preview missing update for other materials using same node
Brecht Van Lommel [Sat, 5 May 2012 19:44:28 +0000 (19:44 +0000)]
Fix #31318: cycles preview missing update for other materials using same node
group with certain operations.

9 years agoFix related to [#31157]: Tips (descriptions) of macro operators were not set into...
Bastien Montagne [Sat, 5 May 2012 19:26:53 +0000 (19:26 +0000)]
Fix related to [#31157]: Tips (descriptions) of macro operators were not set into underlying RNA struct, hence did not show up in UI.

9 years agoFix [#31322] Assign to Active Group adds new group
Bastien Montagne [Sat, 5 May 2012 17:33:18 +0000 (17:33 +0000)]
Fix [#31322] Assign to Active Group adds new group

9 years ago- Fixed issue with printing file version triple times when loading file in debug...
Sergey Sharybin [Sat, 5 May 2012 17:25:58 +0000 (17:25 +0000)]
- Fixed issue with printing file version triple times when loading file in debug mode
- Remove commented out headers from versioning module

9 years agoSecond part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
Bastien Montagne [Sat, 5 May 2012 17:10:51 +0000 (17:10 +0000)]
Second part of fix for [#31157]: Some (actually, 172) operators have no tooltip.
About 30 undocumented ops remaining...

9 years agocode cleanup: BKE_libblock_find_name() now takes an ID constant rather then a string.
Campbell Barton [Sat, 5 May 2012 17:00:11 +0000 (17:00 +0000)]
code cleanup: BKE_libblock_find_name() now takes an ID constant rather then a string.

9 years agofeature request from VenomGfx- lock to active as an operator since its tedious settin...
Campbell Barton [Sat, 5 May 2012 16:38:23 +0000 (16:38 +0000)]
feature request from VenomGfx- lock to active as an operator since its tedious setting the object and bone manually (especially if you have it right in front of you)

uses keys
- Shift+PadPeriod --- to set
- Alt+PadPeriod --- to clear (also clears cursor and camera locking)

9 years agocode cleanup: naming - pose/armature/image
Campbell Barton [Sat, 5 May 2012 16:03:57 +0000 (16:03 +0000)]
code cleanup: naming - pose/armature/image
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.

9 years agoBugfixes for various ID-block references (Constraints, NLA)
Joshua Leung [Sat, 5 May 2012 15:54:08 +0000 (15:54 +0000)]
Bugfixes for various ID-block references (Constraints, NLA)

* ID-blocks referenced by Constraints but not being used as the target objects
(such as Actions in the Action Constraint, or Text Blocks in PyConstraints) now
get usercounts for being referenced in this way. This should fix ancient bugs
such as [#19205] and [#8593]. More tests still needed to verify that this
does now play nicely with proxies.

* Changing actions used by NLA strips should now update the usercounts

9 years agocode cleanup: BKE_ naming, also make always load a new image...
Campbell Barton [Sat, 5 May 2012 14:52:04 +0000 (14:52 +0000)]
code cleanup: BKE_ naming, also make always load a new image. (not use existing one)

9 years agocode cleanup: BKE_scene api naming.
Campbell Barton [Sat, 5 May 2012 14:33:36 +0000 (14:33 +0000)]
code cleanup: BKE_scene api naming.

also stop numpy from being found in /usr/include with cmake.

9 years agocode cleanup: function naming, use BKE_*type* prefix.
Campbell Barton [Sat, 5 May 2012 14:03:12 +0000 (14:03 +0000)]
code cleanup: function naming, use BKE_*type* prefix.

9 years agoFix related to #31317: viewport render layer rendering now uses render visibility
Brecht Van Lommel [Sat, 5 May 2012 10:17:18 +0000 (10:17 +0000)]
Fix related to #31317: viewport render layer rendering now uses render visibility
rather than viewport visibility, is more useful that way.

9 years agoFix #31302: UV unwrap no longer remember last conformal/angle based unwrapper
Brecht Van Lommel [Sat, 5 May 2012 09:30:57 +0000 (09:30 +0000)]
Fix #31302: UV unwrap no longer remember last conformal/angle based unwrapper
choice with bmesh.

9 years agoStyle Cleanup: Wrapping with parens for safety and whitespace edits
Joshua Leung [Sat, 5 May 2012 05:46:45 +0000 (05:46 +0000)]
Style Cleanup: Wrapping with parens for safety and whitespace edits

9 years agoMango Bugfix - Actions being tweaked in NLA Editor were not being played back if
Joshua Leung [Sat, 5 May 2012 05:23:28 +0000 (05:23 +0000)]
Mango Bugfix - Actions being tweaked in NLA Editor were not being played back if
the track that they belonged to was currently being played back "solo"

9 years agocode cleanup: brush/camera naming
Campbell Barton [Sat, 5 May 2012 00:58:22 +0000 (00:58 +0000)]
code cleanup: brush/camera naming

9 years agocode cleanup: function naming for BLI functions.
Campbell Barton [Sat, 5 May 2012 00:23:55 +0000 (00:23 +0000)]
code cleanup: function naming for BLI functions.

9 years agoPatch [#31240] Fix audaspace deadlock
Joerg Mueller [Fri, 4 May 2012 23:36:10 +0000 (23:36 +0000)]
Patch [#31240] Fix audaspace deadlock
fix for [#31097] glibc error when playing sound using BGE
by Wander Lairson Costa

Note: This deadlock fix makes the code non-threadsafe again, a proper solution has to be found still.

9 years agoFixes for
Joerg Mueller [Fri, 4 May 2012 23:28:27 +0000 (23:28 +0000)]
Fixes for
* [#31285] VSE: audio pitch change delays audio
* [#31260] VSE Trimmed audio plays when overlaped

9 years agoAdded incomplete function ED_vgroup_copy_by_nearest_face_single
Ove Murberg Henriksen [Fri, 4 May 2012 21:28:21 +0000 (21:28 +0000)]
Added incomplete function ED_vgroup_copy_by_nearest_face_single
It does not work but is a starting point.

9 years agoClip editor: fixed crash when opening dopesheet view without having clip opened
Sergey Sharybin [Fri, 4 May 2012 18:00:37 +0000 (18:00 +0000)]
Clip editor: fixed crash when opening dopesheet view without having clip opened

9 years agofix [#31136] Save All Edited only works for Saved external image, not New or Packed...
Campbell Barton [Fri, 4 May 2012 17:39:37 +0000 (17:39 +0000)]
fix [#31136] Save All Edited only works for Saved external image, not New or Packed image (bpy.ops.image.save_dirty)

9 years agoWindows:
Thomas Dinges [Fri, 4 May 2012 17:39:14 +0000 (17:39 +0000)]
* Fix compile for recent do_versions() splitting.

9 years agoAdded start and end bevel factor for curves, so now it's possible to make
Sergey Sharybin [Fri, 4 May 2012 17:04:20 +0000 (17:04 +0000)]
Added start and end bevel factor for curves, so now it's possible to make
a bevelled curve which isn't fully covered with a bevel.

9 years agofix [#31205] Loop cut don't slide when hidden faces between
Campbell Barton [Fri, 4 May 2012 17:02:02 +0000 (17:02 +0000)]
fix [#31205] Loop cut don't slide when hidden faces between

9 years agoFix (harmless) uninitialized memory usage in BVH binning.
Brecht Van Lommel [Fri, 4 May 2012 16:38:11 +0000 (16:38 +0000)]
Fix (harmless) uninitialized memory usage in BVH binning.
Fix unneeded warnings with c++ guardedalloc, delete NULL is valid.

9 years agosmall fix for equisolid fisheye (cycles)
Dalai Felinto [Fri, 4 May 2012 16:29:41 +0000 (16:29 +0000)]
small fix for equisolid fisheye (cycles)
the FOV formular is: R = 2 * lens * sin (theta / 2)
in this case theta is fov/2 already, thus the fix

9 years agoFisheye Camera for Cycles
Dalai Felinto [Fri, 4 May 2012 16:20:51 +0000 (16:20 +0000)]
Fisheye Camera for Cycles

For sample images see: (equisolid) (equidistant)

The 'use_panorama' option is now part of a new Camera type: 'Panorama'.
Created two other panorama cameras:

- Equisolid: most of lens in the market simulate this lens - e.g. Nikon, Canon, ...)
             this works as a real lens up to an extent. The final result takes the
             sensor dimensions into account also.
             .:. to simulate a Nikon DX2S with a 10.5mm lens do:
                 sensor: 23.7 x 15.7
                 fisheye lens: 10.5
                 fisheye fov: 180
                 render dimensions: 4288 x 2848

- Equidistant: this is not a real lens model. Although the old equidistant lens simulate
               this lens. The result is always as a circular fisheye that takes the whole sensor
               (in other words, it doesn't take the sensor into consideration).
               This is perfect for fulldomes ;)

               For the UI we have 10 to 360 as soft values and 10 to 3600 as hard values (because we can).

Reference material:

Note, this is not a real simulation of the light path through the lens.
The ideal solution would be this:

Thanks Brecht for the fix, suggestions and code review.
Kudos for the dome community for keeping me stimulated on the topic since 2009 ;)

Patch partly implemented during lab time at VisGraf, IMPA - Rio de Janeiro.

9 years agomake text move up/down into a single operator with a direction property
Campbell Barton [Fri, 4 May 2012 16:17:09 +0000 (16:17 +0000)]
make text move up/down into a single operator with a direction property

9 years agoSplit do_versions into separate files for pre-2.50 versions and 2.5x versions
Sergey Sharybin [Fri, 4 May 2012 15:42:49 +0000 (15:42 +0000)]
Split do_versions into separate files for pre-2.50 versions and 2.5x versions

This should make it easier to navigate through readfile.c and also hopefully
will prevent corereview to fail parsing this file.

9 years agofix [#31235] Limited Dissolve problems
Campbell Barton [Fri, 4 May 2012 15:02:02 +0000 (15:02 +0000)]
fix [#31235] Limited Dissolve problems

this is in fact 2 bugs.
- unselected edges between 2 faces that were joined didnt get removed.
- in face mode, edges and verts at the boundary of the selection would get incorrectly dissolved.

also quiet float/double promotion warning.