blender.git
9 years agoApplied:
Peter Schlaile [Sun, 18 Apr 2010 13:25:51 +0000 (13:25 +0000)]
Applied:
[#21390] Sequencer: Shifted frames on Time Flip/Flip Backwards

thanks to Koen Ribus(kori) for the patch.

9 years agoBrought back secondary input filtering, thereby
Peter Schlaile [Sun, 18 Apr 2010 13:05:17 +0000 (13:05 +0000)]
Brought back secondary input filtering, thereby
fixing
[#21014] SEQUENCER: Can no longer apply colour balance filter to colour effect strip.

Also: reordered some UI elements so that
geometry, time and color modifications are grouped together.

9 years agoBrought back N-key for sequencer preview.
Peter Schlaile [Sun, 18 Apr 2010 12:19:07 +0000 (12:19 +0000)]
Brought back N-key for sequencer preview.

9 years agoAdded RAW-DV-files (.dv) to filelist, so that drag-n-drop
Peter Schlaile [Sun, 18 Apr 2010 12:00:53 +0000 (12:00 +0000)]
Added RAW-DV-files (.dv) to filelist, so that drag-n-drop
to the sequencer timeline works properly.

9 years agoremove config.h references, was added for automake build system rev around 124-126...
Campbell Barton [Sun, 18 Apr 2010 10:28:37 +0000 (10:28 +0000)]
remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now.

9 years agovarious minor fixes
Campbell Barton [Sun, 18 Apr 2010 09:12:18 +0000 (09:12 +0000)]
various minor fixes
- collada export would run MEM_freeN on an un-initialized pointer in some cases.
- makesrna was missing a call to close a file.
- text cursor update function was missing a NULL check for st->text.
- possible (unlikely) un-initialized return value for bge python lamp.type, set error instead.
- possible (unlikely) missing NULL terminator with strncpy for ffmpeg.

9 years agowas using uninitialized string for node name display, also use sizeof() rather then...
Campbell Barton [Sun, 18 Apr 2010 08:54:42 +0000 (08:54 +0000)]
was using uninitialized string for node name display, also use sizeof() rather then fixed values.

9 years agoUpdating operator_simple template with new register functions and
Daniel Salazar [Sun, 18 Apr 2010 05:13:58 +0000 (05:13 +0000)]
Updating operator_simple template with new register functions and
missing bpy import

9 years agoSVN maintenance.
Guillermo S. Romero [Sat, 17 Apr 2010 22:43:18 +0000 (22:43 +0000)]
SVN maintenance.

9 years ago- for BGE mouse and keyboard events use tuples rather then lists
Campbell Barton [Sat, 17 Apr 2010 19:05:53 +0000 (19:05 +0000)]
- for BGE mouse and keyboard events use tuples rather then lists
- pep8 corrections

9 years agobugfix and cleanup
Campbell Barton [Sat, 17 Apr 2010 15:47:00 +0000 (15:47 +0000)]
bugfix and cleanup
- BGE Shader.setSampler(name, index): index range check was wrong.
- Compositor check for an invalid channel was incorrect.
- getting the center of selected verts used an uninitalized z axis.
- do_init_render_material() used && rather then & when testing for MA_TRANSP.
- weight paint activate flipped bone used && rather then & for flag checking.

9 years agomove camera lens/angle conversion to BLI_math
Campbell Barton [Sat, 17 Apr 2010 08:55:31 +0000 (08:55 +0000)]
move camera lens/angle conversion to BLI_math

9 years agoQuicktime audio export: force AAC sample rate to be <=48kHz to avoid later codec...
Damien Plisson [Sat, 17 Apr 2010 08:33:42 +0000 (08:33 +0000)]
Quicktime audio export: force AAC sample rate to be <=48kHz to avoid later codec error + potential quicktime mem leaks fixes

AAC Codec does not handle sample rates above 48kHz.

9 years agoPatch #21789 - BGE Keyboard and Mouse Python types - by Mitchell Stokes(Moguri)
Dalai Felinto [Sat, 17 Apr 2010 06:52:14 +0000 (06:52 +0000)]
Patch #21789 - BGE Keyboard and Mouse Python types - by Mitchell Stokes(Moguri)
The patch exposes mouse and keyboard read-only properties in the GameLogic module
Also renames bge.keys to bge.events (* Note: name of bge submodules (logic, render, ...) may change before 2.5 final release [right Campbell?]).

"""
This patch adds two new types to the BGE:
SCA_PythonKeyboard
SCA_PythonMouse

These two types allow users to make use of the keyboard and mouse without the need for a keyboard or mouse sensor.

SCA_PythonKeyboard has an events property that acts just like SCA_KeyboardSensor.events.

SCA_PythonMouse also has an events property to check for mouse events. Further more it supports getting and setting normalized cursor position (from 0.0 to 1.0) with SCA_PythonMouse.position. The cursor can be shown/hidden using SCA_PythonMouse.visible.
"""

Its use is similar with current mouse and keyboard controllers. With the exception of mouse position being normalized and writable as well (replacing Rasterizer.setMousePosition).

Code Sample:
######
from bge import logic, events

mouse = logic.mouse
keyboard = logic.keyboard

for key,status in keyboard.events:
    if status == logic.KX_INPUT_JUST_ACTIVATED:
        if key == events.WKEY:
            print(mouse.position)
            # move_forward()

mouse.visible = True # turn cursor visible
mouse.position = 0.5,0.5  # centralize mouse - use tuple
######

* Important Note: mouse.position still will not work properly for Letterbox mode.
In order to fix letterboxing I may need to move the set x,y mouse function to inside the canvas code (to avoid duplicated code between mouse sensor and bge.logic.mouse). I'll leave this for another commit though.
Thanks Mitchell for the work on that.

9 years agoPThreads "fix" for CMake / MSVC
Dalai Felinto [Fri, 16 Apr 2010 23:58:12 +0000 (23:58 +0000)]
PThreads "fix" for CMake / MSVC
I heard that the actual solution would be to remove #include <pthread.h> from BLI_threads.h
But in the mean time is not fair to CMake/MSVC to be the only system not building ;)

9 years agoAdded missing/better tooltips for Array modifier
Daniel Salazar [Fri, 16 Apr 2010 22:42:35 +0000 (22:42 +0000)]
Added missing/better tooltips for Array modifier

9 years ago-->Fix for compile on MSVC
Geoffrey Bantle [Fri, 16 Apr 2010 16:19:36 +0000 (16:19 +0000)]
-->Fix for compile on MSVC

Expansion of BASE_MATH_MEMBERS macro meant that
two consecutive semicolons were in the source in
most header files that used it.

9 years agofix for uv project modifier, broke when angle was removed.
Campbell Barton [Fri, 16 Apr 2010 15:19:55 +0000 (15:19 +0000)]
fix for uv project modifier, broke when angle was removed.

9 years agoadd the modules directory from the user scripts path (if it exists)
Campbell Barton [Fri, 16 Apr 2010 09:31:58 +0000 (09:31 +0000)]
add the modules directory from the user scripts path (if it exists)

9 years ago[#22045] Memory leak in Mathutils.Matrix
Campbell Barton [Fri, 16 Apr 2010 08:17:13 +0000 (08:17 +0000)]
[#22045] Memory leak in Mathutils.Matrix
own fault when adding mathutils callbacks, generic destructor didnt free the matrix accessor array, made the array apart of the matrix struct since its not worth malloc'ing to save at most 16bytes.

9 years agoFix [#21559] Loopcut and scale problem.
Matt Ebb [Fri, 16 Apr 2010 08:14:20 +0000 (08:14 +0000)]
Fix [#21559] Loopcut and scale problem.

Force mesh out of face select mode and into edge mode when doing loop cut -
it left an invalid edge selection in face mode, especially with edge slider afterwards.

9 years agoGrease pencil->beizer curve conversion fix: handles used to have
Sergey Sharybin [Fri, 16 Apr 2010 08:13:30 +0000 (08:13 +0000)]
Grease pencil->beizer curve conversion fix: handles used to have
the same coordinates as points.

Also send additional notification at the end of conversion operator,
which is needed for correct interface updating (active object could
be changed in operator but interface wouldn't be updated).

9 years agoFix warning, also added error message for the case of no filename passed.
Andrea Weikert [Fri, 16 Apr 2010 05:24:58 +0000 (05:24 +0000)]
Fix warning, also added error message for the case of no filename passed.

9 years agoTurned off 'Emulate 3 button mouse' in default startup blend.
Matt Ebb [Fri, 16 Apr 2010 05:23:04 +0000 (05:23 +0000)]
Turned off 'Emulate 3 button mouse' in default startup blend.

In this day and age most people have 3 button mice, so this option can now be the
exception not the rule  - causes enough issues with conflicts. This commit won't
disturb existing saved configs.

9 years agoFix for possible null pointer, from uncle entity in irc
Matt Ebb [Fri, 16 Apr 2010 04:44:15 +0000 (04:44 +0000)]
Fix for possible null pointer, from uncle entity in irc

9 years ago'Fix' [#21119] volumetric material always casts shadows
Matt Ebb [Fri, 16 Apr 2010 04:24:29 +0000 (04:24 +0000)]
'Fix' [#21119] volumetric material always casts shadows

Revealed hidden 'options' panel for volumes too.

9 years agoFix [#21492] "Align to view" option from tools panel's operator part doesn't works.
Matt Ebb [Fri, 16 Apr 2010 02:14:56 +0000 (02:14 +0000)]
Fix [#21492] "Align to view" option from tools panel's operator part doesn't works.

Also changed some usage of CTX_wm_region_view3d(C) to ED_view3d_context_rv3d(C)

9 years agofix for own mistake, from r27961.
Campbell Barton [Thu, 15 Apr 2010 21:58:49 +0000 (21:58 +0000)]
fix for own mistake, from r27961.

9 years agoFile Browser: respect UserPref for filtering.
Andrea Weikert [Thu, 15 Apr 2010 20:37:47 +0000 (20:37 +0000)]
File Browser: respect UserPref for filtering.
Setting 'Filter Files' to false, now shows all files in file browser by default when called with any operator.

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 15 Apr 2010 20:16:10 +0000 (20:16 +0000)]
SVN maintenance.

9 years agoMSVC 9 projectfiles update
Andrea Weikert [Thu, 15 Apr 2010 17:44:48 +0000 (17:44 +0000)]
MSVC 9 projectfiles update
* blenlib/math_geom_inline.c
* also fix compile error with MSVC (snprintf not defined)

9 years agofix for crash when drawing fps
Campbell Barton [Thu, 15 Apr 2010 16:44:38 +0000 (16:44 +0000)]
fix for crash when drawing fps

9 years agodisable an assert, use a guess assignment instead.
Joseph Eagar [Thu, 15 Apr 2010 13:48:03 +0000 (13:48 +0000)]
disable an assert, use a guess assignment instead.

9 years agoMerge various small changes from render branch:
Brecht Van Lommel [Thu, 15 Apr 2010 10:28:32 +0000 (10:28 +0000)]
Merge various small changes from render branch:

* Division by zero fix for TNT SVD code.
* Sound fix, in case ffmpeg decode fails, don't use the samples.
* Fix for incorrect bounds of transformed objects in new raytracing code.
* Gave memory arena's a name used for allocations for easier memory
  usage debugging.
* Dupligroup no_draw option was using layers but not restrict view/render
  setting. (not a bugfix exactly but would do display list context switching
  while drawing for no reason).
* Fix objects instanced on hair particles not giving consistent results
  when the object is transformed.
* New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4,
  mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4.
* mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple
  arguments.
* endjob callback for WM jobs system.
* Geometry node uv/color layer now has search list/autocomplete.
* Various small buildsystem tweaks, not strictly needed yet in trunk.

9 years agoFix [#22029] Camera in degree mode doesn't update
Matt Ebb [Thu, 15 Apr 2010 04:56:44 +0000 (04:56 +0000)]
Fix [#22029] Camera in degree mode doesn't update

Removed the camera->angle from DNA, now it just uses RNA to handle the conversions.
Really need to convert this to physical units at some point... :/

9 years agoAllow shift-tweak to be used for border select extend
Matt Ebb [Thu, 15 Apr 2010 01:35:32 +0000 (01:35 +0000)]
Allow shift-tweak to be used for border select extend
(end border select on any key modifier + lmb)

9 years agoMake memstat easier to read, add missing Intel ID and cleanups.
Guillermo S. Romero [Wed, 14 Apr 2010 21:12:05 +0000 (21:12 +0000)]
Make memstat easier to read, add missing Intel ID and cleanups.

9 years agofix [#22007] Saving a read-only file on windows : no warning and temporary files...
Andrea Weikert [Wed, 14 Apr 2010 20:45:36 +0000 (20:45 +0000)]
fix [#22007] Saving a read-only file on windows : no warning and temporary files left there
* small improvement to last commit: actually pass the error value from WM_write_file back to the operator and cancel the operator if not successful. This also preserves the indication that the file hasn't been saved in case of error.

9 years agofix [#22007] Saving a read-only file on windows : no warning and temporary files...
Andrea Weikert [Wed, 14 Apr 2010 20:27:45 +0000 (20:27 +0000)]
fix [#22007] Saving a read-only file on windows : no warning and temporary files left there
* return OPERATOR_FINISHED from file save, so reports are not suppressed - this results in popup with the expected error in this case.

9 years agoCTRL+SHIFT click on node "Make viewer connect to node" now also works
Ton Roosendaal [Wed, 14 Apr 2010 17:32:28 +0000 (17:32 +0000)]
CTRL+SHIFT click on node "Make viewer connect to node" now also works
if there's no active viewer, or no existing link to viewer.

9 years agoSmall fix: scene name in render stats string.
Ton Roosendaal [Wed, 14 Apr 2010 17:15:58 +0000 (17:15 +0000)]
Small fix: scene name in render stats string.

9 years agoFixing Scons compile on Windows:
Thomas Dinges [Wed, 14 Apr 2010 17:15:33 +0000 (17:15 +0000)]
Fixing Scons compile on Windows:
*Missed PTHREAD declaration.

9 years agoMSVC 9 projectfiles
Andrea Weikert [Wed, 14 Apr 2010 16:59:33 +0000 (16:59 +0000)]
MSVC 9 projectfiles
* forgot to add modifiers.vcproj yesterday - sorry!

9 years agoSVN maintenance.
Guillermo S. Romero [Wed, 14 Apr 2010 15:50:56 +0000 (15:50 +0000)]
SVN maintenance.

9 years agorna api, when linking objects to an inactive scene, dont change its layer, removed...
Campbell Barton [Wed, 14 Apr 2010 08:52:22 +0000 (08:52 +0000)]
rna api, when linking objects to an inactive scene, dont change its layer, removed NULL object data check since this isnt allowed from the api side.

9 years agoFix for crash using splash screen recent files.
Matt Ebb [Wed, 14 Apr 2010 08:08:15 +0000 (08:08 +0000)]
Fix for crash using splash screen recent files.
Need to find a better method for menu refreshing..

9 years agoavoid using exec()
Campbell Barton [Wed, 14 Apr 2010 07:58:33 +0000 (07:58 +0000)]
avoid using exec()

9 years agoFix [#22005] Duplicated Point Density textures remain somewhat linked
Matt Ebb [Wed, 14 Apr 2010 07:47:04 +0000 (07:47 +0000)]
Fix [#22005] Duplicated Point Density textures remain somewhat linked

9 years agoMissed this file too
Matt Ebb [Wed, 14 Apr 2010 07:09:01 +0000 (07:09 +0000)]
Missed this file too

9 years agoForgot to add new files
Matt Ebb [Wed, 14 Apr 2010 06:45:22 +0000 (06:45 +0000)]
Forgot to add new files

9 years ago* Interaction Presets
Matt Ebb [Wed, 14 Apr 2010 06:27:50 +0000 (06:27 +0000)]
* Interaction Presets

This adds a new presets menu in the splash screen and the Input section of
User Preferences to choose a preset interaction style, consisting of key configurations
and also other user preferences such as select mouse button, view rotation style, etc.
Currently, just 'Blender' and 'Maya' presets are included, hopefully we can have more
presets contributed (and maintained!) by the community.

It's best to keep these presets minimal to avoid too many key conflicts. In the Maya one
I changed the view manipulation key/mouse combos and also the transform
manipulator keys, not much more than that.

To save an interaction preset, open the user preferences Input section, and press the
[ + ] button next to the presets menu. It will save out a .py file containing any edited key
maps and navigation preferences to the presets/interaction folder in your scripts folder.

---

Part of this commit changes the way that key maps are exported/displayed in
preferences - now partial key configs are allowed. Previously it would export/import the
entire key configuration, regardless of whether individual key maps were edited or not
(which would make them more susceptible to conflicts in unexpected areas).

(note, in blender terminology, a key map is a category of key items, such as
'Object Mode' or 'View 2d'.)

Now, the export and the UI display work in a similar way to how key maps are
processed internally - Locally edited key maps (after pressing the 'Edit' button) are
processed first, falling back to other key maps in the current key config, and then falling
back to the default key config. So it's possible for a key config to only include a few
key maps, and the rest just gets pulled from the default key config. The preferences
UI display works like this too behind the scenes in deciding what to show users,
however using it is just like it was before, the complexity is hidden.

9 years agofix for crash when a register script sets material colors, also made some changes...
Campbell Barton [Tue, 13 Apr 2010 22:43:48 +0000 (22:43 +0000)]
fix for crash when a register script sets material colors, also made some changes to modifier formatting.

9 years agocloth init function not being called
Joseph Eagar [Tue, 13 Apr 2010 22:18:35 +0000 (22:18 +0000)]
cloth init function not being called

9 years agothere were duplicate modifier init's, harmless but better remove.
Campbell Barton [Tue, 13 Apr 2010 22:11:01 +0000 (22:11 +0000)]
there were duplicate modifier init's, harmless but better remove.

9 years agoused private mutexes to avoid deadlocks
Joseph Eagar [Tue, 13 Apr 2010 20:34:40 +0000 (20:34 +0000)]
used private mutexes to avoid deadlocks

9 years agoTesting for the need to quick cache was causing slowdowns on files with many duplis.
Janne Karhu [Tue, 13 Apr 2010 20:06:55 +0000 (20:06 +0000)]
Testing for the need to quick cache was causing slowdowns on files with many duplis.
* The test is now only done when some object that uses cache has actually changed.
* The added scene->physics_settings->quick_cache_step is only an internal counter, not a user changeable value.

9 years agoFix for [#21983] Entering Particle Edit mode crash
Janne Karhu [Tue, 13 Apr 2010 19:44:16 +0000 (19:44 +0000)]
Fix for [#21983] Entering Particle Edit mode crash

9 years agoMSVC projectfiles update
Andrea Weikert [Tue, 13 Apr 2010 19:39:28 +0000 (19:39 +0000)]
MSVC projectfiles update
* big modifier refactor
* added include path to pthreads for BL_gpu.vcproj and blender.vcproj - hopefully only temporarily. Is needed because BLI_threads.h includes <pthreads.h> header!!!

9 years agoTemplate for 'Running Jobs" now shows Composite thread, for node space.
Ton Roosendaal [Tue, 13 Apr 2010 17:15:11 +0000 (17:15 +0000)]
Template for 'Running Jobs" now shows Composite thread, for node space.

9 years agoAdding 'running jobs' button in node header.
Ton Roosendaal [Tue, 13 Apr 2010 17:11:53 +0000 (17:11 +0000)]
Adding 'running jobs' button in node header.

9 years agofixed make local bug; it was only looking at editable objects, which of course lib...
Joseph Eagar [Tue, 13 Apr 2010 16:52:18 +0000 (16:52 +0000)]
fixed make local bug; it was only looking at editable objects, which of course lib objects are not.

9 years agoprevent images from freeing gpu buffers if not run within the main thread, instead...
Joseph Eagar [Tue, 13 Apr 2010 12:51:03 +0000 (12:51 +0000)]
prevent images from freeing gpu buffers if not run within the main thread, instead they are queued to be freed the next time GPU_image_free() is run from the main thread.

9 years agoFix for hue correct node, was clamping value of hsv unnecessarily.
Matt Ebb [Tue, 13 Apr 2010 08:30:53 +0000 (08:30 +0000)]
Fix for hue correct node, was clamping value of hsv unnecessarily.

9 years agoTodo #21831: Deform modifier is applied to base mesh instead of
Sergey Sharybin [Tue, 13 Apr 2010 06:06:49 +0000 (06:06 +0000)]
Todo #21831: Deform modifier is applied to base mesh instead of
             multires modifier if both are in the stack (patch #21965)

This patch also removes limitation of multires reshaping when
destination object has got modifiers after multires modifier.

9 years agoBGE: stubs update (bplayer)
Dalai Felinto [Mon, 12 Apr 2010 23:02:14 +0000 (23:02 +0000)]
BGE: stubs update (bplayer)

9 years ago[#21993] Edge Slide operator should disable projection snapping
Martin Poirier [Mon, 12 Apr 2010 22:42:09 +0000 (22:42 +0000)]
[#21993] Edge Slide operator should disable projection snapping

Adding proper flag.

If there are others like that, other people can fix them too, it's easy peasy.

9 years agomodifier include cleanup, this might need fixes on other systems but hard to avoid.
Campbell Barton [Mon, 12 Apr 2010 22:33:43 +0000 (22:33 +0000)]
modifier include cleanup, this might need fixes on other systems but hard to avoid.
also removed unused stuff from cmake modifier file

9 years agoButton panels need to get handlers and keymaps... but for now sneaked
Ton Roosendaal [Mon, 12 Apr 2010 17:45:51 +0000 (17:45 +0000)]
Button panels need to get handlers and keymaps... but for now sneaked
in a handy key : Akey in buttons window on a panel will
open or close it.

9 years agoSubframe calculations for particles, original patch by Raul Fernandez Hernandez
Janne Karhu [Mon, 12 Apr 2010 17:34:06 +0000 (17:34 +0000)]
Subframe calculations for particles, original patch by Raul Fernandez Hernandez
* Increasing subframe count increases stability for SPH fluid and Newtonian particles
* Also small tweaks into physics ui panel to better fit new subframes value
* This commit also fixes the moving fluid emitter problem as described by Raul in the mailinglist

9 years agoRearrange the includes a bit.
Guillermo S. Romero [Mon, 12 Apr 2010 16:15:38 +0000 (16:15 +0000)]
Rearrange the includes a bit.

9 years agoMerge -c 28147 from COLLADA branch into trunk.
Arystanbek Dyussenov [Mon, 12 Apr 2010 15:32:59 +0000 (15:32 +0000)]
Merge -c 28147 from COLLADA branch into trunk.

9 years agoFix [#21953] Texture space size seems not updated constantly
Matt Ebb [Mon, 12 Apr 2010 05:04:49 +0000 (05:04 +0000)]
Fix [#21953] Texture space size seems not updated constantly

9 years agoBGE: TexFace panel (from patch #21780 from Mitchell Stokes + some changes)
Dalai Felinto [Mon, 12 Apr 2010 03:06:49 +0000 (03:06 +0000)]
BGE: TexFace panel (from patch #21780 from Mitchell Stokes + some changes)
the patch exposes a rna property to get the active edit mode face. This is a hack.
However it's a small patch (a.k.a. easy to revert later if needed).

The official plan is to wait for BMesh before tackling it properly. Nevertheless TexFace panel is really important for BGE.

Missing: operators to copy the current parameters to other selected faces.

* note: what I changed from the original patch is the UI script. The pool wasn't defined and it was using tabs.

9 years agoWork around to keep compiler going with zlib.h:
Guillermo S. Romero [Mon, 12 Apr 2010 02:56:41 +0000 (02:56 +0000)]
Work around to keep compiler going with zlib.h:
In file included from MOD_fluidsim_util.c:62:
/usr/include/zlib.h:1440: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gzseek64’

TODO: string.h appears twice and "" vs <> seems arbitrary.

9 years agoFix external image editor (needs to be a list, otherwise extends adds each character...
Martin Poirier [Mon, 12 Apr 2010 02:43:17 +0000 (02:43 +0000)]
Fix external image editor (needs to be a list, otherwise extends adds each character as a list item).

Note: The default value ("start") on windows doesn't work. Start is not a real program.

9 years agoFix [#21972] Inclusive selection doesn't work for Faces
Matt Ebb [Mon, 12 Apr 2010 02:10:50 +0000 (02:10 +0000)]
Fix [#21972] Inclusive selection doesn't work for Faces

9 years agoFix many compile errors in fluidsim modifier.
Matt Ebb [Mon, 12 Apr 2010 01:26:56 +0000 (01:26 +0000)]
Fix many compile errors in fluidsim modifier.

Please enable+compile before committing!

9 years agoModifiers moved, adjust accordingly.
Guillermo S. Romero [Mon, 12 Apr 2010 01:23:55 +0000 (01:23 +0000)]
Modifiers moved, adjust accordingly.

9 years agomore header cleanups
Campbell Barton [Mon, 12 Apr 2010 01:09:59 +0000 (01:09 +0000)]
more header cleanups

9 years agoFix [#21982] Operator bug: Edit mode
Matt Ebb [Mon, 12 Apr 2010 00:40:56 +0000 (00:40 +0000)]
Fix [#21982] Operator bug: Edit mode

Hid the 'Enter Edit Mode' property when adding an object, not necessary anyway.

9 years ago- use more inline math funcitons where possible
Campbell Barton [Mon, 12 Apr 2010 00:36:50 +0000 (00:36 +0000)]
- use more inline math funcitons where possible
- swapped in less verbose math functons
- modifier include cleanup

9 years agoPatch from Xavier Thomas, tweaks/fixes to FFMPEG YUV conversion code
Matt Ebb [Sun, 11 Apr 2010 23:52:47 +0000 (23:52 +0000)]
Patch from Xavier Thomas, tweaks/fixes to FFMPEG YUV conversion code

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 11 Apr 2010 23:20:03 +0000 (23:20 +0000)]
SVN maintenance.

9 years agobooleanops.c was moved to MOD_boolean_util.c, remove empty file.
Campbell Barton [Sun, 11 Apr 2010 22:20:02 +0000 (22:20 +0000)]
booleanops.c was moved to MOD_boolean_util.c, remove empty file.

9 years ago[#14437] Modifier Stack Refactor
Campbell Barton [Sun, 11 Apr 2010 22:12:30 +0000 (22:12 +0000)]
[#14437] Modifier Stack Refactor
patch by Ben Batt (artificer)

Updated patch for 6 or so modifiers added since the patch was written.

- tested with CMake and SCons
- fixed one error were flags were being added to the fluids type.
- remove BKE_simple_deform.h, simple_deform.c, move functions into MOD_simpledeform.c since there were problems with circular deps.
- moved some fluid and boolean functions used by modifiers too.

9 years agoCopy Constraints Operator
Dalai Felinto [Sun, 11 Apr 2010 22:08:58 +0000 (22:08 +0000)]
Copy Constraints Operator
the C code to copy the constraint was already there (same as 2.49) so this operator simply exposes it.
I'm using the name Copy Constraints to Others based on what we have in material operators (e.g. Copy Material to Others).

If we bring back the whole Copy Attributes menu (old Ctrl+C) having the individual operators is still important for scripts. Nevertheless I'm not comfortable with the name (to Others sounds unnecessary verbose) but so far having the functionality back is important (request from Caju Studio). I'll be glad to make any change later if needed.
(no shortcut for that, to use it go to userpref->keymap and assign a shortcut for this operator or add it to the toolshelf)

9 years ago== Sequencer ==
Peter Schlaile [Sun, 11 Apr 2010 19:26:46 +0000 (19:26 +0000)]
== Sequencer ==

Made custom proxy files a lot more sensible to select
(upgraded to filepath get/setters)

Changed semantics, since custom files don't make much
sense without custom directories...

9 years ago== Sequencer ==
Peter Schlaile [Sun, 11 Apr 2010 18:37:49 +0000 (18:37 +0000)]
== Sequencer ==

Proxy render size settings is now back. (Maybe still in need of some sensible
icons, though...)

Also: waveform color seperation works in N-keys dialog again.

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 11 Apr 2010 16:41:43 +0000 (16:41 +0000)]
SVN maintenance.

9 years agoSpecific operator for Push/Pull (no need to go through the generic operator and it...
Martin Poirier [Sun, 11 Apr 2010 16:04:11 +0000 (16:04 +0000)]
Specific operator for Push/Pull (no need to go through the generic operator and it makes it available in the operator search)

9 years agoPyAPI
Campbell Barton [Sun, 11 Apr 2010 14:22:27 +0000 (14:22 +0000)]
PyAPI
 - added new mathutils.Color() type, use with rna so we can do for eg:
 material.diffuse_color.r = 1.0
 # also has hsv access
 material.diffuse_color.s = 0.6

 - made Mathutils and Geometry module names lowercase.

9 years agomindrones reports cmake 2.4 doesnt work anymore, since 2.8 is current, bumping the...
Campbell Barton [Sun, 11 Apr 2010 12:20:30 +0000 (12:20 +0000)]
mindrones reports cmake 2.4 doesnt work anymore, since 2.8 is current, bumping the minimum version requiired

9 years agopy api file rename
Campbell Barton [Sun, 11 Apr 2010 12:05:27 +0000 (12:05 +0000)]
py api file rename
- prefix mathutils api.
- 2 blf.c files (annoying for debugging)
- py api docs ignore keying sets as with operators.

9 years agoLong outstanding panel feature: press ENTER with mouse on header will
Ton Roosendaal [Sun, 11 Apr 2010 11:52:39 +0000 (11:52 +0000)]
Long outstanding panel feature: press ENTER with mouse on header will
open/close it. Will allow quicker inspections without mouse strains.

9 years agoCocoa fix [#21866] : force mouse move event to be sent upon cursor position set request
Damien Plisson [Sun, 11 Apr 2010 11:19:30 +0000 (11:19 +0000)]
Cocoa fix [#21866] : force mouse move event to be sent upon cursor position set request

9 years agoZoom in/out for Composite Node backdrop is (temp?) Vkey and SHIFT+V.
Ton Roosendaal [Sun, 11 Apr 2010 10:49:47 +0000 (10:49 +0000)]
Zoom in/out for Composite Node backdrop is (temp?) Vkey and SHIFT+V.
Scrollwheel is being fully swallowed there now...

9 years agopython function to remove drivers.
Campbell Barton [Sun, 11 Apr 2010 09:13:37 +0000 (09:13 +0000)]
python function to remove drivers.

eg:
 bpy.context.object.driver_remove("location")

ANIM_remove_driver now accepts -1 as an index for removing all drivers from one path.

9 years agoBGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically)
Dalai Felinto [Sun, 11 Apr 2010 01:53:21 +0000 (01:53 +0000)]
BGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically)

In Blender 2.49 the win width and height were been calculated including an extra pixel (e.g. a fullscreen editor would be (width + 1) by (height + 1) )
In opposite to that, Blender 2.5 window/editor code were fixed to have the exact width,height size.
So although the BGE canvas code was still the same as 2.49 it was producing a wrong result.

I'm also adding some commentaries in the setViewport code. BGE is setting the viewports 1 pixel larger.
the setViewport command is been used as if one should pass (minx, miny, width, height), while it should be (minx, miny, maxx, maxy). I will take care of that later, if any one has extra comments on that, please let me know.

9 years agoSolidify Modifier
Campbell Barton [Sat, 10 Apr 2010 22:12:10 +0000 (22:12 +0000)]
Solidify Modifier
- vertex normals were not being flipped (though faces are)
- rim faces didnt influence edge vertex normals

apply solidify on top of solidify modifier now works correctly

9 years agobpy.app was writing members more then once.
Campbell Barton [Sat, 10 Apr 2010 19:06:18 +0000 (19:06 +0000)]
bpy.app was writing members more then once.