11 years agoSVN maintenance.
Guillermo S. Romero [Fri, 4 Jun 2010 18:26:15 +0000 (18:26 +0000)]
SVN maintenance.

11 years ago* Fixed a Typo in Convert menu.
Thomas Dinges [Fri, 4 Jun 2010 16:21:04 +0000 (16:21 +0000)]
* Fixed a Typo in Convert menu.

11 years ago== python api docs ==
Luca Bonavita [Fri, 4 Jun 2010 13:47:56 +0000 (13:47 +0000)]
== python api docs ==

- small change to indicate the source file we use the proper :file: directive and we link to proper file in svn
  check for example
  after you rebuild the docs

11 years agoopengl-render flag wasnt being cleared after rendering.
Campbell Barton [Fri, 4 Jun 2010 12:23:38 +0000 (12:23 +0000)]
opengl-render flag wasnt being cleared after rendering.

11 years agomissed this in filename --> filepath renaming
Campbell Barton [Fri, 4 Jun 2010 12:01:57 +0000 (12:01 +0000)]
missed this in filename --> filepath renaming

11 years agohave cmake build editors as different libs like scons and nan-makefiles
Campbell Barton [Fri, 4 Jun 2010 11:34:57 +0000 (11:34 +0000)]
have cmake build editors as different libs like scons and nan-makefiles

11 years agocheck to avoid divide by zero
Campbell Barton [Fri, 4 Jun 2010 11:31:39 +0000 (11:31 +0000)]
check to avoid divide by zero

11 years agoremove cruft from scons config.
Campbell Barton [Fri, 4 Jun 2010 07:17:12 +0000 (07:17 +0000)]
remove cruft from scons config.

11 years agoFix [#22480] brush/circle select (C-key) causes problems in other modes
Matt Ebb [Fri, 4 Jun 2010 06:02:46 +0000 (06:02 +0000)]
Fix [#22480] brush/circle select (C-key) causes problems in other modes

11 years agoFix [#22383] 3dView Layer Management (by Mouse) broken
Matt Ebb [Fri, 4 Jun 2010 01:39:34 +0000 (01:39 +0000)]
Fix [#22383] 3dView Layer Management (by Mouse) broken

11 years agosupport for building with scons & python 2.4x
Campbell Barton [Thu, 3 Jun 2010 23:37:51 +0000 (23:37 +0000)]
support for building with scons & python 2.4x

11 years agosolidify modifier wasnt requesting vertex groups when it needed them.
Campbell Barton [Thu, 3 Jun 2010 22:08:14 +0000 (22:08 +0000)]
solidify modifier wasnt requesting vertex groups when it needed them.

11 years ago[#22498] scene.objects.unlink() frees object
Campbell Barton [Thu, 3 Jun 2010 21:48:42 +0000 (21:48 +0000)]
[#22498] scene.objects.unlink() frees object
fix by Dan Eicher (dna)

11 years agoMade the sample line tool of the image editor use color management if needed.
Xavier Thomas [Thu, 3 Jun 2010 20:25:00 +0000 (20:25 +0000)]
Made the sample line tool of the image editor use color management if needed.

11 years agoremove unused env vars from --help
Campbell Barton [Thu, 3 Jun 2010 20:06:29 +0000 (20:06 +0000)]
remove unused env vars from --help

11 years agowave modifier was dividing by zero for each vertex with default settings of falloff...
Campbell Barton [Thu, 3 Jun 2010 19:56:13 +0000 (19:56 +0000)]
wave modifier was dividing by zero for each vertex with default settings of falloff == 0.0f.
annoying with --debug-fpe and better to use multiply in the loop.

11 years agodisable openmp for blenderlite scons target
Campbell Barton [Thu, 3 Jun 2010 18:25:03 +0000 (18:25 +0000)]
disable openmp for blenderlite scons target

11 years agoMerge -c 29009,29081,29189 from COLLADA branch into trunk.
Arystanbek Dyussenov [Thu, 3 Jun 2010 17:41:33 +0000 (17:41 +0000)]
Merge -c 29009,29081,29189 from COLLADA branch into trunk.

11 years ago[#22470] bpy.Image.gl_load/free()
Campbell Barton [Thu, 3 Jun 2010 16:26:04 +0000 (16:26 +0000)]
[#22470] bpy.Image.gl_load/free()
patch from Dan Eicher (dna)

11 years ago== python api docs ==
Luca Bonavita [Thu, 3 Jun 2010 14:26:38 +0000 (14:26 +0000)]
== python api docs ==

some more cleanup:

  - made structure in source/gameengine/PyDoc/ to be able to crosslink properly
  - cleaned notes and warnings syntax, and also now they are always the last elements after all the other tags
  - substituted some lists of possible values of a parameter with links to lists of values (not finished)
    like in bge.types.html#bge.types.SCA_PythonKeyboard
  - uncertain about some values, like in
    (list of KX_SENSOR_INACTIVE,... etc aren't documented or non-existant, will investigate)

11 years agosearch for scripts in the release directory relative to the blender binary.
Campbell Barton [Thu, 3 Jun 2010 13:31:50 +0000 (13:31 +0000)]
search for scripts in the release directory relative to the blender binary.

11 years agofix for buffer overrun with making a path relative.
Campbell Barton [Thu, 3 Jun 2010 13:05:45 +0000 (13:05 +0000)]
fix for buffer overrun with making a path relative.
would only happen when the names of the path and the relative location matched which isnt likely but happened today when Soenke somehow made a file link to its self.

11 years agoCopy Game Properties Operator: fix for "default enum value" out of the range. I remov...
Dalai Felinto [Thu, 3 Jun 2010 08:41:40 +0000 (08:41 +0000)]
Copy Game Properties Operator: fix for "default enum value" out of the range. I removed one item from the Enum and forgot to change the default.

11 years agoLogic Editor: more datablock lookups :)
Dalai Felinto [Thu, 3 Jun 2010 08:26:47 +0000 (08:26 +0000)]
Logic Editor: more datablock lookups :)
Now all the material properties have the nice Datablock Lookup menu (thanks a lot Matt !). They still store the property as a string, therefore if you change a material name the logic bricks using it don't get updated. it would be nice if we had a way to communicate that in the interface.

The only "datablock" field that doesn't have lookup is "property" in collision and ray sensors and Constraint Actuator. The reason being is that there is no global ListBase to gather the properties of all the objects in the scene. And it may be too overkill to create a list with all the properties on-the-fly only for that (it would be cool though)

11 years agosilly compile fix
Matt Ebb [Thu, 3 Jun 2010 07:47:49 +0000 (07:47 +0000)]
silly compile fix

11 years agoSmall memory management tweaks
Matt Ebb [Thu, 3 Jun 2010 07:28:47 +0000 (07:28 +0000)]
Small memory management tweaks

11 years agoReworked the non-blocking reports display in the info header:
Matt Ebb [Thu, 3 Jun 2010 07:27:55 +0000 (07:27 +0000)]
Reworked the non-blocking reports display in the info header:
* Now it displays the last report from the global list, not just from operators
* Rather than disappearing when a new operator is run, it stays until it times
out or a new report is added
* Fun animated transitions ;)

Now need to investigate report usage with popups. Ideally we can have most
 reports non-blocking, so they're less intrusive, only popping up for dire errors.
Problem is many things in Blender right now are marked as RPT_ERROR
when probably RPT_WARNING is more appropriate. Should probably keep
RPT_ERROR for things that demand immediate attention.

11 years agoLogic Editor: clear properties operator + logics in the object menu
Dalai Felinto [Thu, 3 Jun 2010 06:41:24 +0000 (06:41 +0000)]
Logic Editor: clear properties operator + logics in the object menu
clear properties operator
- now it's not part of the copy properties anymore (Matt's suggestion).

If anyone want to change the menu, please help yourself (renaming, putting in it's own submenu, making it invisible when mode is not Game ..)

11 years ago== python api docs ==
Luca Bonavita [Wed, 2 Jun 2010 22:56:08 +0000 (22:56 +0000)]
== python api docs ==

- now that I've made syntax changes in the previous commit I moved blocks to to have sensors/actuators grouped together
- added sections to have a nice table of contents
- formatted 2 lists and links to classes

11 years ago== python api docs ==
Luca Bonavita [Wed, 2 Jun 2010 21:28:17 +0000 (21:28 +0000)]
== python api docs ==

*  source/blender/python/doc/

changed syntax for declating attributes type to use :type: instead of *type* os it

* source/gameengine/Ketsji/KX_PythonInit.cpp

While documenting I've found that we have two naming conventions for constraints in BGE python api,
After talking with dalai and cambpell we agreed that this kind of change is better suited for NExyon GSoC
so I marked as TODO

Also, found 2 duplicate rows, fixed after askin nexyon

* source/gameengine/PyDoc/bge.logic.rst

there were 2 blocks for constraints, I've put them together in docs and fixed some other lines

* source/gameengine/PyDoc/bge.types.rst

first cleanup: mainly started using ":type:", it was mixed usage of *type* and **type**
started cleaning some bullet list in a way that varibles link to the constant in appropriate page
I'll continue later

11 years agoerror in last commit
Campbell Barton [Wed, 2 Jun 2010 19:37:53 +0000 (19:37 +0000)]
error in last commit

11 years agoSculpt & modifiers: patch by Sergey Sharybin, with modifications by me.
Brecht Van Lommel [Wed, 2 Jun 2010 18:04:31 +0000 (18:04 +0000)]
Sculpt & modifiers: patch by Sergey Sharybin, with modifications by me.

Fixes various crashes and redraw problems, most noticeable new feature
is that you can now sculpt on a multires mesh with deforming modifiers
preceding it.

I've left out support for sculpting on multires with enabled modifiers
following it, in this case only the base mesh can be sculpted now. The
code changes needed to do this are just too ugly in my opinion, would
need a more torough redesign which I don't think we should try now. In
my opinion this is also not really an important case, since it's going
to be incredibly slow anyway to run a modifier on a high res mesh while

So, to summarize current state:

* Fastest sculpting: base mesh with no modifiers or multires with only
  modifiers preceding it.
* Slower sculpting: base mesh with modifiers, depends on the speed of
  the modifiers.
* Not supported: multires mesh with modifiers following it.

11 years agorename some rna properties filename --> filepath
Campbell Barton [Wed, 2 Jun 2010 17:58:28 +0000 (17:58 +0000)]
rename some rna properties filename --> filepath
 * filename == "foo.ext"
 * filepath == "/path/to/and/including/foo.ext"

this was alredy followed in some places not not everywhere.

11 years agoBGE: Moving Constraint Actuator Defines. It was leading to some errors in documentation
Dalai Felinto [Wed, 2 Jun 2010 17:38:38 +0000 (17:38 +0000)]
BGE: Moving Constraint Actuator Defines. It was leading to some errors in documentation

11 years agoConstraint UI:
Thomas Dinges [Wed, 2 Jun 2010 17:01:50 +0000 (17:01 +0000)]
Constraint UI:
* Alphabetical order fix: [P]ivot comes before R and S ;-)

11 years agoAvoid reset the H and S value in the color picker when V is equal to zero!
Diego Borghetti [Wed, 2 Jun 2010 16:02:28 +0000 (16:02 +0000)]
Avoid reset the H and S value in the color picker when V is equal to zero!

Small change to keep the value of H and S when V come to zero, take care
that only work if you keep the color picker open.

When the color picker is closed, the H and S value are reset to zero
this is because the color picker is used in a lot of different place
and this value need to be reset.

(BTW reset to zero only when V is equal to zero!)

11 years agoinclude the blendfile name when executing python scripts, so when using libraries...
Campbell Barton [Wed, 2 Jun 2010 14:40:58 +0000 (14:40 +0000)]
include the blendfile name when executing python scripts, so when using libraries you can tell where the script is stored which raises an error.

11 years agoFix "Snap cursor to selected object" not working for linked object.
Diego Borghetti [Wed, 2 Jun 2010 13:41:05 +0000 (13:41 +0000)]
Fix "Snap cursor to selected object" not working for linked object.

The problem was CTX_DATA_BEGIN using selected_editable_objects and
not selected_objects.

11 years agoquiet warnings in screw modifier, also fix bad args for lookat_m4 and polarview_m4...
Campbell Barton [Wed, 2 Jun 2010 07:40:50 +0000 (07:40 +0000)]
quiet warnings in screw modifier, also fix bad args for lookat_m4 and polarview_m4 to rotate_m4, however these functions are not used at the moment so it didnt cause any problems.

11 years agoblenderplayer building again (may need updates in libraries I dont compile with,...
Dalai Felinto [Wed, 2 Jun 2010 07:06:47 +0000 (07:06 +0000)]
blenderplayer building again (may need updates in libraries I dont compile with, but it' builds here). removed smoke declarations that are not needed anymore (not in windows,

11 years agoFix [#22473] No more text cursor placing when editing a Text Field ?
Matt Ebb [Tue, 1 Jun 2010 23:06:14 +0000 (23:06 +0000)]
Fix [#22473] No more text cursor placing when editing a Text Field ?

11 years agoProgress indicator in the application icon
Damien Plisson [Tue, 1 Jun 2010 20:21:40 +0000 (20:21 +0000)]
Progress indicator in the application icon

Displays a global progress indicator in the application icon reflecting the total progress of all running jobs.

Currently fully implemented on OSX (Cocoa).
On other OSes that do not allow to redraw the app icon, this can be implemented as a [x%] display in the app title, so to appear in the taskbar.

Thanks to Matt for the windowmanager wrapper.

11 years ago== View Navigation ==
Campbell Barton [Tue, 1 Jun 2010 19:48:55 +0000 (19:48 +0000)]
== View Navigation ==
Orbiting the view while in camera mode now starts from the camera view rather then switching back to the last user 3d view settings.
* I added this some years back but it was rejected, however it was requested today for durian because with set scenes its not always easy to select whats infront of the camera to navigate to it.
  Its possible to end up in an annoying situation where you are looking at the main characters head (in a set scene), but when you orbit the view, the camera jumps 500+ BU away and you need to manually navigate back to what you were just looking at.

* If a user wants to go back to the view they had before entering the camera view they can still press Numpad zero which toggles.

11 years agoFix #22239: external btx won't load.
Brecht Van Lommel [Tue, 1 Jun 2010 19:26:35 +0000 (19:26 +0000)]
Fix #22239: external btx won't load.

11 years agoWorkaround #20467: disabled OpenMP multithreading on subsurf/multires/sculpt
Brecht Van Lommel [Tue, 1 Jun 2010 19:01:54 +0000 (19:01 +0000)]
Workaround #20467: disabled OpenMP multithreading on subsurf/multires/sculpt
for now, it's too fine grained and so becomes a performance bottleneck on some
platforms, while only providing a modest speedup on others. Couldn't find a
simple enough solution to solve this, so for now no multithreading here.

11 years ago[#22194] Add groups visibility, selectability and renderability restrictions in the...
Campbell Barton [Tue, 1 Jun 2010 18:12:17 +0000 (18:12 +0000)]
[#22194] Add groups visibility, selectability and renderability restrictions in the outliner
modified/rewrote some of this patch, not to include restrict settings in the group its self, since these are object settings this now uses the outliner/groups as a way to access multiple objects restrict and select settings.
Rather then fakeing that the settings are stored in the group.

This means it does rather more looping on group objects then I'd like however the outliner is doing a lot of loopnig alredy.

11 years agoFix #22039: changing simplify recalculates subsurf even if simplifiy is disabled.
Brecht Van Lommel [Tue, 1 Jun 2010 17:05:56 +0000 (17:05 +0000)]
Fix #22039: changing simplify recalculates subsurf even if simplifiy is disabled.
Fix crash with simplify and child particles in linked scenes.

11 years agoFix #22462: selecting the "Animation Step" operator from the spacebar
Brecht Van Lommel [Tue, 1 Jun 2010 15:35:38 +0000 (15:35 +0000)]
Fix #22462: selecting the "Animation Step" operator from the spacebar
menu crashes Blender, patch provided by Frederik De Bleser, thanks!

11 years agopassepartout overlay wasnt written into thumbnails
Campbell Barton [Tue, 1 Jun 2010 13:06:13 +0000 (13:06 +0000)]
passepartout overlay wasnt written into thumbnails

11 years agojust a small commit to get myself back into thge swing of things
Michael Fox [Tue, 1 Jun 2010 12:13:07 +0000 (12:13 +0000)]
just a small commit to get myself back into thge swing of things
via a request there is now axis control in the vertes smooth operator (really small easy to remove if no one likes )

11 years agoscript reload (f8), is closer to working.
Campbell Barton [Tue, 1 Jun 2010 08:15:43 +0000 (08:15 +0000)]
script reload (f8), is closer to working.

there are internal memory problems which can make it crash still.
If you remove all directories in the scripts folder except for 'modules' and 'ui', it runs without crashes.

11 years agoLogic Editor: visible flag is boolean_negative
Dalai Felinto [Tue, 1 Jun 2010 07:49:27 +0000 (07:49 +0000)]
Logic Editor: visible flag is boolean_negative

11 years agoFixes [#21791] Toggle Fullscreen (Alt + F11) returns to non-maximized window
Nathan Letwory [Tue, 1 Jun 2010 06:18:17 +0000 (06:18 +0000)]
Fixes [#21791] Toggle Fullscreen (Alt + F11) returns to non-maximized window

Applied patch provided by Elia Sarti

11 years agoFix [#22469] Crashes with "segmentation fault" when opening an image for Voxel Data...
Matt Ebb [Tue, 1 Jun 2010 06:07:22 +0000 (06:07 +0000)]
Fix [#22469] Crashes with "segmentation fault" when opening an image for Voxel Data texture of type Image sequence

Cleaned up the code here, made it more efficient and more reliable with threaded render.

11 years ago* Only print libtiff debug messages to the console when in debug mode
Matt Ebb [Tue, 1 Jun 2010 01:01:25 +0000 (01:01 +0000)]
* Only print libtiff debug messages to the console when in debug mode
* Allow loading non 3/4 channel TIFFs (eg. greyscale). This was already
working, but disabled out of caution. Seems to work fine in my recent tests though.

11 years agoPython Open Link operator.
Thomas Dinges [Mon, 31 May 2010 11:38:13 +0000 (11:38 +0000)]
Python Open Link operator.
* Unified some code for Opening an URL to use only one operator: WM_OT_url_open
* Removed the HELP_OT_url operators.

11 years ago* Sun & Sky presets were labeled as Render presets.
Thomas Dinges [Mon, 31 May 2010 10:21:57 +0000 (10:21 +0000)]
* Sun & Sky presets were labeled as Render presets.

11 years ago* Tooltip fix for Addon links.
Thomas Dinges [Mon, 31 May 2010 08:43:23 +0000 (08:43 +0000)]
* Tooltip fix for Addon links.
I rather have this general text than 2 separate operators for wiki/tracker url.

11 years ago== Sequencer ==
Peter Schlaile [Sun, 30 May 2010 21:17:59 +0000 (21:17 +0000)]
== Sequencer ==

This makes volume range larger and adds an additional attenuation-variable to RNA,
which makes volume-changes in dezibel units possible.

11 years ago2.5 Addons:
Thomas Dinges [Sun, 30 May 2010 20:48:09 +0000 (20:48 +0000)]
2.5 Addons:
Request from mindrones :)
* Next to the Wiki URL, it's now possible to have a link to the tracker, for bug reports.

"bl_addon_info" dictionary:
* Renamed 'url' to 'wiki_url'
* Added 'tracker_url'

11 years ago== Sequencer ==
Peter Schlaile [Sun, 30 May 2010 20:04:24 +0000 (20:04 +0000)]
== Sequencer ==

Current SVN crashes, if we are using hard-cuts on multicam tracks. Changing to soft cuts for now
(since it should be the same for effect strips anyways...)

11 years ago== Sequencer ==
Peter Schlaile [Sun, 30 May 2010 19:33:26 +0000 (19:33 +0000)]
== Sequencer ==

This fixes loading of hard trimmed audio files in readfile
and adds trim options to N-keys for audio files.

11 years ago== Sequencer ==
Peter Schlaile [Sun, 30 May 2010 19:29:58 +0000 (19:29 +0000)]
== Sequencer ==

Multicam editing: don't cut to the camera we are already on...

11 years agoblend file thumbnails
Campbell Barton [Sun, 30 May 2010 19:21:28 +0000 (19:21 +0000)]
blend file thumbnails
- fix for blend file thumbnails not being immediately visible in an external file manager (was writing the thumb before the blend)
- move overlay function from wm_files.c into thumbs_blend.c

11 years ago== bge api docs ==
Luca Bonavita [Sun, 30 May 2010 18:18:14 +0000 (18:18 +0000)]
== bge api docs ==

- fixed small typo in
- also testing committing to bf-blender, my first commit :)

11 years agoadd torus now works like other C add-object operators, location and rotation are...
Campbell Barton [Sun, 30 May 2010 17:18:16 +0000 (17:18 +0000)]
add torus now works like other C add-object operators, location and rotation are initialized and kept even when settings are changed after.

11 years agoDisable using own emitter object (self) as dupliobject/group for particles, fixes...
Janne Karhu [Sun, 30 May 2010 16:09:16 +0000 (16:09 +0000)]
Disable using own emitter object (self) as dupliobject/group for particles, fixes bugs:
[#21994] hair particle system with dupli object set to particle system object itself results in 100% cpu usage
[#22023] [Rev 28117]Can't bake particles?
[#22065] in a particle system, setting the emitter as the dupli object crashes blender after pressing alt+a to animate

11 years agomingw/cmake ffmpeg works now, update for new openexr libs which removed IlmThread.
Campbell Barton [Sun, 30 May 2010 15:55:16 +0000 (15:55 +0000)]
mingw/cmake ffmpeg works now, update for new openexr libs which removed IlmThread.

11 years agoconsole now shows unicode errors as well as errors caused by introspecting the api...
Campbell Barton [Sun, 30 May 2010 15:17:33 +0000 (15:17 +0000)]
console now shows unicode errors as well as errors caused by introspecting the api with autocompleate.

11 years agoSome cleanup of particle path drawing logic:
Janne Karhu [Sun, 30 May 2010 14:53:26 +0000 (14:53 +0000)]
Some cleanup of particle path drawing logic:
* Path drawing now works for non hair particles.
* Should fix the following bugs too:
  [#21316] Hair weight drawing is wrong
  [#21923] Consistent Crash When Rendering Particle Scene.
  [#21950] Path rendering option for particles causes crash

11 years ago- Python console argument '--python-console', option so you can start blender and...
Campbell Barton [Sun, 30 May 2010 14:05:58 +0000 (14:05 +0000)]
- Python console argument '--python-console', option so you can start blender and drop into a python console, (useful for debugging some problems on a renderfarm over ssh)

- Also made it so sys.stdin isnt overwritten anymore, instead the interactive consoel overwrites while it executes and restores after.

- removed hope folder from sphinx patch path

11 years agoFix #22446: "Delayed" modifier preview with linked curves
Sergey Sharybin [Sun, 30 May 2010 14:05:24 +0000 (14:05 +0000)]
Fix #22446: "Delayed" modifier preview with linked curves

Since curve objects could have constructive modifiers, we can't
always avoid setting OB_RECALC_DATA to linked objects (displist
recalculation wouldn't enough for curves with such modifiers)

11 years agoremove non-informative print
Nathan Letwory [Sun, 30 May 2010 13:58:17 +0000 (13:58 +0000)]
remove non-informative print

11 years agoFixes: #22064 When the Windows task bar is placed on top of the screen, Blender ...
Nathan Letwory [Sun, 30 May 2010 13:50:59 +0000 (13:50 +0000)]
Fixes: #22064 When the Windows task bar is placed on top of the screen, Blender "User Preferences" opens with the title bar underneath it
I applied the patch provided by Charlie Shen in the comments of the bug report

11 years agothumbnail passepartout effect, distinguishes blend files from images.
Campbell Barton [Sun, 30 May 2010 09:16:50 +0000 (09:16 +0000)]
thumbnail passepartout effect, distinguishes blend files from images.

11 years agooptional fallback argument for vector angle function.
Campbell Barton [Sun, 30 May 2010 01:42:04 +0000 (01:42 +0000)]
optional fallback argument for vector angle function.
 vec1.angle(vec2, fallback)

in my experiences most uses of this function required a try/except so better to allow a fallback value.

11 years ago== Sphinx Doc Gen ==
Alex Sytnik [Sun, 30 May 2010 00:24:32 +0000 (00:24 +0000)]
== Sphinx Doc Gen ==

Workaround to address attribute description issue.
In resulting .rst file attribute's descriptions appeared
not indented which sphinx considered as anoter blocks.

11 years agoreverting previous commit from Mitchell. His commit went to the trunk instead of...
Dalai Felinto [Sat, 29 May 2010 21:31:57 +0000 (21:31 +0000)]
reverting previous commit from Mitchell. His commit went to the trunk instead of the branch :)
svn merge -r 29067:29066

11 years agoReversing the last merge because I botched it.
Mitchell Stokes [Sat, 29 May 2010 21:22:24 +0000 (21:22 +0000)]
Reversing the last merge because I botched it.

11 years agoFix multitouch zoom erratic behavior in 3D view in vertical dolly mode
Damien Plisson [Sat, 29 May 2010 20:14:58 +0000 (20:14 +0000)]
Fix multitouch zoom erratic behavior in 3D view in vertical dolly mode

11 years agoUpdated openexr for MinGW
Sergey Sharybin [Sat, 29 May 2010 18:28:01 +0000 (18:28 +0000)]
Updated openexr for MinGW

11 years agodisable forcing mingw compiler flags (means you couldnt change them)
Campbell Barton [Sat, 29 May 2010 11:36:33 +0000 (11:36 +0000)]
disable forcing mingw compiler flags (means you couldnt change them)

11 years agoFix for Error Totblock for Sound_OT_open
Dalai Felinto [Sat, 29 May 2010 08:49:48 +0000 (08:49 +0000)]
Fix for Error Totblock for Sound_OT_open

Error Totblock: 1
OpenPropertyPointerRNA len: 32 0x11111111

I'm not quite sure this has to be done here, or when the actuator is removed (Matt, do we need the customdata pointer for anything later?).
Doing it here seems to be fine so far.

11 years agoremoved WIN32 definition for msvc last commit (to get mingw working)
Campbell Barton [Sat, 29 May 2010 07:31:40 +0000 (07:31 +0000)]
removed WIN32 definition for msvc last commit (to get mingw working)
added back definition as well as checking if some options need to be set.

11 years agoEsc as input for Key Buttons (e.g Logic Brick Keyboard Sensor)
Dalai Felinto [Sat, 29 May 2010 01:42:42 +0000 (01:42 +0000)]
Esc as input for Key Buttons (e.g Logic Brick Keyboard Sensor)

After talking with Brecht he agreed on allowing Esc to be used as input for key input butons.
In order to let the user to cancel an input it can cancel it clicking outside the button.

Also replacing manual check by ui_mouse_inside_button in ui_text function
(patch reviewed (and helped) by Matt (but the change on ISHOTKEY, that's on my own risk ;))

11 years agoFix Open Sound operator, bring it in line with Open Image:
Matt Ebb [Fri, 28 May 2010 23:12:45 +0000 (23:12 +0000)]
Fix Open Sound operator, bring it in line with Open Image:
* Add relative paths option
* Set the pointer used in the ID template properly

* Tweaked the Sound actuator ui

11 years ago[#21842] Beta patch to restore cmake MinGW compilation
Campbell Barton [Fri, 28 May 2010 21:25:23 +0000 (21:25 +0000)]
[#21842] Beta patch to restore cmake MinGW compilation
from Riakiotakis Antonis (psy-fi)

with modifications.

- needed to remove quotes around filepaths for copying.
- WITH_JACK, doesnt link
- WITH_FFMPEG, doesnt build
- WITH_RAYOPTIMIZATION, gave an error for me. (no mmx support)

11 years ago= Game Engine PyDocs =
Alex Sytnik [Fri, 28 May 2010 19:59:15 +0000 (19:59 +0000)]
= Game Engine PyDocs =

Document's headers trailing dots removed, to make them consistent with other docs.

11 years agoFix [#22429] Seg Fault when deleting a material from a pinned panel
Matt Ebb [Fri, 28 May 2010 07:16:55 +0000 (07:16 +0000)]
Fix [#22429] Seg Fault when deleting a material from a pinned panel

11 years agobugfix [#22438] Sequencer off by 1 scene error
Campbell Barton [Fri, 28 May 2010 07:16:36 +0000 (07:16 +0000)]
bugfix [#22438] Sequencer off by 1 scene error
scenes start frame was being ignored (was always zero)

11 years ago== CMake ==
Andrea Weikert [Thu, 27 May 2010 18:22:50 +0000 (18:22 +0000)]
== CMake ==
* updated for new libtiff
* also disabled opencollada for now as it caused errors

* WITH_INTERNATIONAL is enabled although this setting crashes Blender when compiling the Debug target - seems to work for other people though? If you encounter problems, try disabling this.

11 years agoFix #22422: Adding a new shape key with unchecked 'Relative' checkbox crashes blender
Sergey Sharybin [Thu, 27 May 2010 14:00:32 +0000 (14:00 +0000)]
Fix #22422: Adding a new shape key with unchecked 'Relative' checkbox crashes blender

Reorder callning of add_keyblock and do_ob_key in insert_*key.
do_ob_key shouldn't be called for object with uninitialized key blocks.

NOTE: this commit not fixing problems with slurph

11 years agoSmall typo in help text.
Nathan Letwory [Thu, 27 May 2010 12:46:42 +0000 (12:46 +0000)]
Small typo in help text.

11 years agoFix #22401: BLI_thread_is_main function does not work properly on
Brecht Van Lommel [Thu, 27 May 2010 12:40:12 +0000 (12:40 +0000)]
Fix #22401: BLI_thread_is_main function does not work properly on
64-bit Windows, fix provided by Tamito Kajiyama.

11 years agoVarious constraint code cleanups:
Joshua Leung [Thu, 27 May 2010 11:56:31 +0000 (11:56 +0000)]
Various constraint code cleanups:
1) Fixed some weird formatting introduced during math-lib cleanups, and some other inconsistencies
2) Optimised the Maintain Volume constraint by taking the value calculations out

Copy All Constraints Operators:
* Added one for bones too
* These are now included in the menus
* Removed some weird/extra code copying/changing/bleh the actcol/totcol stuff...

11 years agorename curve 'point' to 'co', the property name used verts, bezier points and keyframes.
Campbell Barton [Thu, 27 May 2010 11:25:07 +0000 (11:25 +0000)]
rename curve 'point' to 'co', the property name used verts, bezier points and keyframes.

11 years ago== Pivot Constraint ==
Joshua Leung [Thu, 27 May 2010 10:50:06 +0000 (10:50 +0000)]
== Pivot Constraint ==

This constraint allows an object or bone to have their rotations applied as if their origin/pivot-point was located elsewhere. The most obvious uses include foot-roll, see-saws, but could also include more complicated rolling-box examples.

== Usage Examples ==
=== Foot Roll ===
1. Add 'Pivot' Constraint to the bone without any target.
2. Set the 'Y' value of the offset to the length of the bone. Usually this should be negative (if you rig with feet facing 'forwards' along -Y axis). This gives you a pivot point relative to the bone's (preconstraint) location, which should be at the tip of the bone here. Disabling the 'Use Relative Offset' would make this offset be relative to 0,0,0 instead of to the owner/bone-head.
3. Ensure that the 'Pivot When' setting is set to '-X Rot', (default) which means that the pivot will only used when the rotation on the X-Axis is negative to get tip-toe 'roll'.

=== See Saw ===
1. Add a 'Pivot' constraint too see-saw plank object, this time with a target that you wish to have as the pivot-point. It's possible to do this without too (as before), but is less intuitive.
2. Optionally, if you want the plank slightly raised, set the z-offset value, which should make the pivot-point used to be relative to the target with the z-offset applied.
3. Ensure that 'Pivot When' is set to 'Always', which means that the pivot will always be used, irrespective of the rotation.

== Notes ==
* The 'Pivot When' setting has been integrated in the constraint, since this is something that will often be required for these setups. Having to set up additional drivers to drive the constraint to do this kindof beats the purpose of providing this.

* The 'Offset' functionality is probably not presented as clearly as it could be. We may need to go over this again.

* For foot-roll - if any scaling of the foot is required, simply set up a driver on the y-offset to make this dynamically respond to the "scale" RNA property of the bones (don't use the "Transform Channel" vartype since that won't work correct here). However, this shouldn't be common enough to warrant special treatment.

11 years agoSmall bug fix:
Nicholas Bishop [Thu, 27 May 2010 08:42:59 +0000 (08:42 +0000)]
Small bug fix:
The array of string names for CD layers was missing a few. Added them back and organized a bit for clarity.

11 years agoLogic Editor: fix for datablock counting when copying/deleting sound actuator
Dalai Felinto [Thu, 27 May 2010 08:34:32 +0000 (08:34 +0000)]
Logic Editor: fix for datablock counting when copying/deleting sound actuator
("bug" from 2.49)

11 years agoProgress indicators for threaded jobs
Matt Ebb [Thu, 27 May 2010 08:22:16 +0000 (08:22 +0000)]
Progress indicators for threaded jobs

Now, rather than the bit-too-alarming stop sign, threaded wmJobs
display a progress indicator in the header. This is an optional feature
for each job type and still uses the same hardcoded ui template
(could use further work here...).

Currently implemented for:
Render - parts completed, then nodes comped
Compositor - nodes comped
Fluid Sim - frames simulated
Texture Bake - faces baked