Commit Graph

38720 Commits

Author SHA1 Message Date
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
Sergey Sharybin
df8880a81f Fix compilation error of Cycles after recent py node removal 2012-05-29 09:51:16 +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
Thomas Dinges
a7c68afc72 Cycles / CUDA:
* Remove double declaration of cosf.
2012-05-28 23:51: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
Nicholas Bishop
3d98da9b0f Fix for bug [#31613] Cycles 3d viewport material display mode + skin modifier related crash
When in material display mode, mesh_calc_modifiers() calculates the
orco DerivedMesh, which uses a different CustomDataMask. In
particular, it does not necessarily include the current modifier's
requiredDataMask, so those layers might get set to NO_COPY. For the
skin modifier, this resulted in a crash when the modifier internally
copies the DerivedMesh and the output does not contain the expected
MVertSkin layer.

Fixed by adding the requiredDataMask to the orco DM's CustomDataMask.

Also added a debugging function to customdata.c:
customData_mask_layers__print(CustomDataMask mask);

This will print out the names of all the CD layer types in the mask.
2012-05-28 21:02:44 +00:00
Thomas Dinges
d3c6c6babd Cycles / CUDA:
* Remove -use_fast_math flag from scons as well.
2012-05-28 19:49:26 +00:00
Campbell Barton
4f90d757c7 add BLI_ghash_pop() which returns the value for a key and removes it at the same time, saves a lookup if you need to check if the item exists before removing. 2012-05-28 19:33:14 +00:00
Brecht Van Lommel
131de4352b Cycles: fixes to make CUDA 4.2 work, compiling gave errors in shadows and
other places, was mainly due to instancing not working, but also found
issues in procedural textures.

The problem was with --use_fast_math, this seems to now have way lower
precision for some operations. Disabled this flag and selectively use
fast math functions. Did not find performance regression on GTX 460 after
doing this.
2012-05-28 19:21:13 +00:00
Lukas Toenne
c2be2fd408 Fix 2 #29846. Effector point ave variable can be NULL. 2012-05-28 19:10:57 +00:00
Dalai Felinto
9fb4ca981e image.gl_touch: wasn't passing the parameters to gl_load 2012-05-28 18:32:18 +00:00
Campbell Barton
47826118d1 style cleanup: also fix for TIMEIT macro 2012-05-28 18:12:08 +00:00
Dalai Felinto
481658867e image.gl_load: moving error cleaning to before all gl calls" 2012-05-28 17:47:42 +00:00
Dalai Felinto
6323b32c08 image.gl_load(): clear glGetError buffer before getting a new one 2012-05-28 17:03:13 +00:00
Lukas Toenne
666667bd83 Fix #29846, Dynamic rotation of particles not affected by forcefields 2.61 64 bit. Patch by Arno Mayrhofer (azrael3000).
Minor fix by me to initialize the effector point angular velocity vector correctly.
2012-05-28 16:58:12 +00:00
Campbell Barton
9ffb1c1dd8 bpy.utils.time_to_frame() and frame_to_time() utility functions. 2012-05-28 16:06:38 +00:00
Campbell Barton
e9d6b4db96 fix for own recent commit removing NULL checks from TREESTORE macro - this use needed it. 2012-05-28 15:37:43 +00:00
Thomas Dinges
d02b6707f9 * Some code optimizations to panel collapse code, to avoid calculations for each panel. Suggested by "Bao 2". 2012-05-28 14:57:38 +00:00
Lukas Toenne
3091c9d440 Fix for node linking operator, which could insert node link into the list twice and cause deadlock due to incomplete test. 2012-05-28 14:39:55 +00:00
Daniel Genrich
ee854f581a Smoke: Fix messed up shadow display with OpenMP. This needs fixing. For now disable openmp for that function. Shadow calculation would be better raytraced on GPU or using shaders for the future.
Part of my Blender Smoke Development Phase III.

(accidently commited this to smoke2 branch first)
2012-05-28 14:31:08 +00:00
Bastien Montagne
fd2f05be44 A few minor UI message fixes... 2012-05-28 14:01:42 +00:00
Sergey Sharybin
9ed75681b6 Sequencer: replace clamp+round of multiplied color value with FTOCHAR macro,
Should solve issues with building blender in release environment, should be
no functional changes.
2012-05-28 10:39:22 +00:00
Sergey Sharybin
e442adf9cf Fixed crash opening files with missed libraries. 2012-05-28 10:32:38 +00:00
Thomas Dinges
04c30c5efb Scons / MSVC - Windows x64
* SSE/SSE2 is an unknown option for the compiler (Command line warning D9002 : ignoring unknown option '/arch:SSE2'), so it can be left out because on x64 it automatically builds with SSE and SSE2.
2012-05-28 09:20:04 +00:00
Bastien Montagne
3a190396dd Fix [#31621] Face Angles Drawn in Strange Places
When do_global is True, don’t compute face angles/area positions based on ob-matrix-transformed coordinates!
2012-05-28 09:01:43 +00:00
Campbell Barton
ee15754e31 move mouse select options into their own property function - more operators should use these eventually 2012-05-28 05:45:19 +00:00
Thomas Dinges
492d7ace57 User Interface Panels:
* Add a solo mode for panels, CTRL+LMB on a panel header.
This closes all other panels.

Patch [#22233] by sneg negr (sneg) with modifications by myself to exclude panels with hidden header (like context)
2012-05-28 00:02:24 +00:00
Campbell Barton
46f1671c07 missing from previous commit 2012-05-27 21:56:19 +00:00
Peter Schlaile
4474a90d8b == Sequencer / Color balance ==
Make the color balance inner working more accurate in the byte -> byte
case, probably also fixing (can't check I'm on 32bit) the bug mentioned 
on yellow's blog:

http://blendervse.wordpress.com/2012/04/02/waiving-the-fullrange-flag/
2012-05-27 20:57:24 +00:00
Campbell Barton
032d83ecc4 style cleanup: defines with braces 2012-05-27 20:13:59 +00:00
Gaia Clary
b65c9711fe Collada exporter: Added name attribute to nodes in visual_scene elements (name = id) 2012-05-27 19:44:07 +00:00
Campbell Barton
b33f0ef0e3 style cleanup 2012-05-27 19:40:36 +00:00
Campbell Barton
295aa880e9 style cleanup: draw node 2012-05-27 19:38:10 +00:00
Daniel Genrich
1e13168183 Smoke:
a) Another boundary fix. Resulted in smoke getting "sucked" back into the domain
b) Disabling substeps (internal thing). Fixes arbitrary explosions/instabilities.

Part of my Blender Smoke Development.
2012-05-27 18:45:16 +00:00
Campbell Barton
d4b6927179 remove NULL check in TREESTORE macro, the return NULL value wasny checked for by any callers (ie - it would crash later if the arg was NULL anyway)
also comment on the speed of check_persistent()
2012-05-27 14:43:18 +00:00
Sergey Sharybin
8c51ecaf90 Use BKE_movieclip_get_size rather than BKE_movieclip_get_ibuf and use ibuf's resolution in tile's Movie Clip node 2012-05-27 14:30:45 +00:00
Sergey Sharybin
2a7b4adedc Fix mistmatch in usage of delete vs. delete [] in tiles reported by valgrind profiler. 2012-05-27 14:17:34 +00:00
Sergey Sharybin
1a8d7f4fc1 Patch #31563: Additional include directory for FFMPEG
Fedora 16 is still using /usr/include/ffmpeg, not /usr/include to store FFmpeg's
headers. Added it to search paths.

Also remove FFmpeg include directory listed in FFMPEG_INCLUDE_DIRS twice

Patch by Arno Mayrhofer	(aka azrael3000), thanks!
2012-05-27 13:44:21 +00:00
Sergey Sharybin
a1091fbfa6 Fix #26876: Soft Body ignores Goal on Lattice
Patch by Arno Mayrhofer (aka azrael3000) with only slight code style modifications, thanks!
2012-05-27 13:33:09 +00:00
Campbell Barton
1e45042396 code cleanup: remove mode comments, these were applied very un-evenly across a few files. 2012-05-27 13:22:43 +00:00
Dan Eicher
bc4f98b16f rna_def_composite_nodetree_api() getting passed the wrong prop 2012-05-27 13:17:31 +00:00
Campbell Barton
2ab62ce126 code cleanup: defines with braces - end with '(void)0' so callers must end with ';' like normal function.
... without this some editors dont parse the source so well.
2012-05-27 12:21:13 +00:00
Campbell Barton
aa63016744 when SCREEN_OT_keyframe_jump fails dont send notifiers or call sound_seek_scene 2012-05-27 11:22:06 +00:00