Commit Graph

32043 Commits

Author SHA1 Message Date
Monique Dewanchand
5fbeda7efd Optimize Gaussian blurs 2012-06-01 11:50:32 +00:00
Joshua Leung
7941ebf66e Style and typo fixes 2012-06-01 11:46:25 +00:00
Campbell Barton
21bf2e0cae fix crash in clip graph view (possibly own fault) 2012-06-01 11:03:44 +00:00
Jeroen Bakker
e9093c7011 Fixed crash
Previous patch allocated temporarily buffers.
2012-06-01 10:37:38 +00:00
Monique Dewanchand
285a24b3e0 Replaced tile based memory manager with a single aligned buffer
- should increase speed with large node setups
 - enables caching of buffers in the node editor (in the future)
 - OpenCL part still needs some work
2012-06-01 10:20:24 +00:00
Jeroen Bakker
a78dca27a2 Removed unused files in compositor 2012-06-01 08:01:04 +00:00
Mitchell Stokes
0e73b64d62 Fix for [#27472] "preserve volume for armature modifier does not work" based on code provided by Sergey Kurdakov. Now more deformation flags are being passed to armature_deform_verts(). Note: this fix is only for the Blender vertex deformer, not the BGE deformer. 2012-06-01 02:17:35 +00:00
Peter Larabell
03ae47e45f Add const prefix to match definition in lasso.c 2012-05-31 21:25:52 +00:00
Monique Dewanchand
13714e621d Fix for [#31662] Compositing: No Alpha if image/color connected to second input of math node 2012-05-31 20:26:42 +00:00
Brecht Van Lommel
d5ae958e8f Fix #31634: crash calling bpy.ops.transform.edge_slide() outside 3d view.
Solution based on patch #31635 by Philipp Oeser.
2012-05-31 19:06:52 +00:00
Campbell Barton
02b927b8c4 style cleanup 2012-05-31 18:40:06 +00:00
Jason Hays
9547b76c2e This fixes a precision issue in multi-paint so that near zero values do not cause flickering as you paint.
It also changes multi-paint's "zero weight color" to black again--it was unintentionally changed to red some time late last year when an aspect of the colors were changed.
2012-05-31 17:22:52 +00:00
Brecht Van Lommel
c3a7db28d3 Fix #31657: adding mesh objects did not take units into account for the grid
scale that sets the default size.
2012-05-31 16:04:03 +00:00
Jeroen Bakker
b04cd3a765 Fix for [#31602] Node Glare: Ghosts effect 2012-05-31 13:05:00 +00:00
Campbell Barton
ceea98be2f math lib changes from tomato 2012-05-31 11:57:09 +00:00
Jeroen Bakker
31a94e4003 Fix for [#31542] Tiles Compositor: Image sequences broken 2012-05-31 11:55:05 +00:00
Jeroen Bakker
a9c4f76a6a * Added new dilate/erode function 2012-05-31 10:38:11 +00:00
Monique Dewanchand
722ce85ff6 Fix for
[#31562] New compositor crashes due to incorrect opencl initialization
2012-05-30 21:09:50 +00:00
Lukas Toenne
f462743dae Viewer linking operator has to flag the node tree for update, to ensure the dependency sorting is correct (avoid red links). 2012-05-30 14:42:40 +00:00
Jeroen Bakker
ada8dbe12a * fixed memory leak in compositor operation.
- leaked when render result could not be received.
2012-05-30 13:07:55 +00:00
Daniel Genrich
be21080cb6 Provide ray hit/nearest information on which side of the quad the ray hit.
Patch by MiikaH.
2012-05-30 12:53:13 +00:00
Campbell Barton
8ae1f38812 workaround for crash when rig library links dont load. - will leak memory but better then crash. 2012-05-30 09:27:16 +00:00
Campbell Barton
27c6ab9857 fix incorrect delete usage in the compositor. 2012-05-30 09:15:02 +00:00
Campbell Barton
47584648dc split up proportional editing keymap functions (adding this in tomato branch was messy) 2012-05-30 08:02:49 +00:00
Campbell Barton
22982e9351 minor transform change to stay in sync with mask branch 2012-05-30 07:38:33 +00:00
Campbell Barton
d4c7f2d53d clear active object when hiding unselected objects too. 2012-05-30 06:37:40 +00:00
Nathan Letwory
f5011d3aaa Remove useless file 2012-05-30 04:17:21 +00:00
Benoit Bolsee
58bc424b3c BGE #30734: add support for physics linear and angular thresholds and deactivation time from python and GUI.
========================
The linear and angular thresholds set the speed limit (in m/s) and rotation limit (in rad/s)
under which a rigid body will go to sleep (stop moving) if it stays below the limits for a 
time equal or longer than the deactivation time (sleeping is disabled is deactivation time is 
set to 0).
These settings help reducing the processing spent on Physics during the game.

Previously they were only accessible from python but not working because of a bug. 
Now the python functions are working and the settings are available in the Physics panel
of the World settings when using the Blender Game render engine.

Python API:
  import PhysicsConstraints
  PhysicsConstraints.setDeactivationLinearTreshold(float)
  PhysicsConstraints.setDeactivationAngularTreshold(float)
2012-05-29 20:30:33 +00:00
Benoit Bolsee
1d4ab9daf0 Win32: Compilation fix for quicktime import 2012-05-29 20:06:31 +00:00
Daniel Genrich
3495479b4f Bugfix [#31629] Cloth simulation results are much different from older ones
This is only a partial bugfix, reducing the repulse to 1/3.

Cloth collision will still behave different because it is now catching more collisions.
2012-05-29 19:12:49 +00:00
Dan Eicher
52aad984b6 Outliner Drag & Drop fixes
OUTLINER_OT_parent_drop
 * use scene of child instead of active scene
 * poll to check if parent and child are in same scene

OUTLINER_OT_parent_clear
 * get scene from child instead of only working on active scene
 * poll to check if no parent

OUTLINER_OT_scene_drop && OBJECT_OT_make_links_scene
 * memory leak on error
 * would only link some objects on error
2012-05-29 18:12:13 +00:00
Brecht Van Lommel
3d55cf64cb Fix #31591: info header reports missing with custom key configuration due to
wrong keymap timer writing, some timer types were missing.
2012-05-29 15:04:11 +00:00
Jeroen Bakker
feb3dc926a Compositor filter node
* edges (x=0, x=width-1, y = 0 y=height-1) were not taken into acount
correctly
used CLAMP function to limit the filter operation to existing pixels
2012-05-29 14:38:28 +00:00
Jeroen Bakker
87d433d16c * Compositor Alpha channel was not effected by the ConvolutionFilters
(Filter:Sharpen, Filter:Soften, etc)
2012-05-29 14:25:28 +00:00
Jeroen Bakker
8a30382a8a * Compositor fix for OpenCL [OpenCL platform installed, but no
available devices]
   - could happen when having laptops with a hard switch between video
cards (intel/NVidia switch)
   - or when an opencl platform was installed on a machine without any
OpenCL compatible GPU
2012-05-29 14:13:08 +00:00
Dan Eicher
45dbb715ee Revert makesrna part of r47158 because it broke building blenderplayer
Apparently not supposed to call ED_* functions from there

Also added a missing "\n" that's been annoying me for a long while
2012-05-29 13:59:31 +00:00
Brecht Van Lommel
ef0c8d532a Fix #31631: keyframe insert on uv layer element not working. 2012-05-29 11:19:46 +00:00
Brecht Van Lommel
0f04f7ce44 Fix #31632: error inserting keyframing on vertex group element weight. 2012-05-29 11:00:12 +00:00
Campbell Barton
32ee1625d3 more plugin removal 2012-05-29 10:41:00 +00:00
Brecht Van Lommel
e530b50d17 Fix #31596: wrong soft limits for light falloff node. 2012-05-29 10:34:10 +00:00
Campbell Barton
0b7593a3dc finish cleanup for plugins 2012-05-29 10:31:42 +00:00
Thomas Dinges
16117143d8 Massive Code cleanup:
* Remove all code for Texture and Sequencer plugin system, this never worked in 2.5x / 2.6x and is therefore not needed anymore.

* DNA structures are kept, all read/writefile code is gone.
2012-05-29 10:21:07 +00:00
Campbell Barton
0c7fa76e59 remove some more pynode references in the code 2012-05-29 09:42:11 +00:00
Campbell Barton
d8d3a6455f remove pynodes, were not working in 2.5, not ported to py3.x 2012-05-29 09:37:23 +00:00
Dan Eicher
e0c2ddb886 OUTLINER_OT_scene_drop -- "Drag object to scene in Outliner" operator
Refactored the two (well, three now) other places where an object is linked to a scene into ED_object_scene_link()
2012-05-29 08:20:11 +00:00
Daniel Salazar
a537355426 Typo in property Description 2012-05-29 05:46:54 +00:00
Campbell Barton
b0de69b48f fix for sequencer selection and naming in the outliner, was broken since 2.5x 2012-05-29 05:45:06 +00:00
Dan Eicher
53082c410d Outliner drag/drop parent fix -- added checks for modifiers and contraints to the poll functions
Parenting was just broken, poll would return true but nothing would happen if you dropped on modifiers or constraints

Parent clear now works the same as dropping on a non-ID_OB types but left the actual modifier/contraint instances open to allow for future expansion
2012-05-28 22:59:11 +00:00
Benoit Bolsee
dfc19a1ff7 BGE patch #28476: Character object physics type
===============================================
This patch adds a new "Character" BGE physics type which uses Bullet's btKinematicCharacter for simulation instead of full-blown dynamics. It is appropiate for (player-controlled) characters, for which the other physics types often result unexpected results (bouncing off walls, sliding etc.) and for which simple kinematics offers much more precision.

"Character" can be chosen like any other physics type in the "Physics" section of the properties window. Current settings for tweaking are "Step Height" (to make the object automatically climb small steps if it collides with them), "Fall Speed" (the maximum speed that the object can have when falling) and "Jump Speed", which is currently not used.

See http://projects.blender.org/tracker/?func=detail&atid=127&aid=28476&group_id=9
for sample blends and a discussion on the patch: how to use it and what influences the behavior of the character object.

Known problem: there is a crash if the "compound" option is set in the physics panel of the Character object.
2012-05-28 21:36:29 +00:00
Campbell Barton
4e0492e3bc fix compiler error 2012-05-28 21:25:17 +00:00