9 years agosvn merge ^/trunk/blender -r41961:41998
Campbell Barton [Sun, 20 Nov 2011 01:14:33 +0000 (01:14 +0000)]
svn merge ^/trunk/blender -r41961:41998

9 years agoReplace "&" with "and" since on windows it separates the string and causes errors...
Antony Riakiotakis [Sun, 20 Nov 2011 00:37:24 +0000 (00:37 +0000)]
Replace "&" with "and" since on windows it separates the string and causes errors in the console.

9 years agoUI/RNA:
Thomas Dinges [Sun, 20 Nov 2011 00:32:39 +0000 (00:32 +0000)]
* Code cleanup.

9 years agoBugfix for [#29327] background images: 'Not Set' displayed although image is already...
Thomas Dinges [Sat, 19 Nov 2011 23:06:10 +0000 (23:06 +0000)]
Bugfix for [#29327] background images: 'Not Set' displayed although image is already loaded.

9 years agoBugfix for [#29279] Cycles Displacement Panel appears when blender render engine...
Thomas Dinges [Sat, 19 Nov 2011 22:59:48 +0000 (22:59 +0000)]
Bugfix for [#29279] Cycles Displacement Panel appears when blender render engine is choosen.

9 years agoCycles: another build system tweak that might solve build problem, not sure
Brecht Van Lommel [Sat, 19 Nov 2011 22:06:39 +0000 (22:06 +0000)]
Cycles: another build system tweak that might solve build problem, not sure
why this code is giving issues.

9 years agoUI: modify region expand widget from floating (+) icon into a dark tab with
Brecht Van Lommel [Sat, 19 Nov 2011 22:05:18 +0000 (22:05 +0000)]
UI: modify region expand widget from floating (+) icon into a dark tab with
a light + in it.

9 years agoUI:
Brecht Van Lommel [Sat, 19 Nov 2011 20:57:53 +0000 (20:57 +0000)]
* Add theme option to show panel header background.
* Draw panel collapse widget a bit smaller.
* Add theme option to draw icons muted.
* Code tweak: replace U.themes.first by UI_GetTheme() calls.

9 years agoFixing compile breakage (was missing an #include "BKE_camera.h" in UVProject modifier...
Bastien Montagne [Sat, 19 Nov 2011 20:40:46 +0000 (20:40 +0000)]
Fixing compile breakage (was missing an #include "BKE_camera.h" in UVProject modifier code fileā€¦).

9 years agoCamera tracking fixes:
Sergey Sharybin [Sat, 19 Nov 2011 20:14:57 +0000 (20:14 +0000)]
Camera tracking fixes:
- Fixed incorrect memory access on distoritons more than 128 pixels
- Do not use UNDO operators flags for delete proxy operator (files can't be restored form disk),
  and also do not use UNDO for set as background operator (background images are storing in
  3d viewport which isn't getting re-loaded on undo which can lead to incorrect users count
  of movie clip user).

9 years agoCamera: some more refactoring, mostly in the function that computes the camera
Brecht Van Lommel [Sat, 19 Nov 2011 18:35:42 +0000 (18:35 +0000)]
Camera: some more refactoring, mostly in the function that computes the camera
border, now we just get the border coordinates from comparing the viewport and
camera viewplanes.

9 years agohide overly picky warnings from 'pylint' for pep8 script, indentation edits.
Campbell Barton [Sat, 19 Nov 2011 16:17:35 +0000 (16:17 +0000)]
hide overly picky warnings from 'pylint' for pep8 script, indentation edits.

9 years agoMore UI messages fixes and tweaks (found while translating in french).
Bastien Montagne [Sat, 19 Nov 2011 12:21:15 +0000 (12:21 +0000)]
More UI messages fixes and tweaks (found while translating in french).

9 years ago- rename MovieTrackingMarker.enabled --> mute, to match constraints/nla/fcurves/sequencer
Campbell Barton [Sat, 19 Nov 2011 02:48:09 +0000 (02:48 +0000)]
- rename MovieTrackingMarker.enabled --> mute, to match constraints/nla/fcurves/sequencer
- report an error if an invalid BGpic arg is given to v3d.background_images.remove()

9 years agoadd poll function for VIEW3D_OT_camera_to_view_selected & remove some unused code.
Campbell Barton [Sat, 19 Nov 2011 01:24:40 +0000 (01:24 +0000)]
add poll function for VIEW3D_OT_camera_to_view_selected & remove some unused code.

also made it so copying camera sets the dof object to extern.

9 years agoreplace fabs with fabsf where both input and output are floats.
Campbell Barton [Sat, 19 Nov 2011 01:10:05 +0000 (01:10 +0000)]
replace fabs with fabsf where both input and output are floats.

9 years agomake it clearer which arguments in transform snap are return values (no functional...
Campbell Barton [Sat, 19 Nov 2011 00:52:54 +0000 (00:52 +0000)]
make it clearer which arguments in transform snap are return values (no functional change)

9 years agoadd python3 checks to avoid confusion from errors with python2.
Campbell Barton [Sat, 19 Nov 2011 00:01:10 +0000 (00:01 +0000)]
add python3 checks to avoid confusion from errors with python2.

9 years agoCamera: some more code deduplication.
Brecht Van Lommel [Fri, 18 Nov 2011 23:32:17 +0000 (23:32 +0000)]
Camera: some more code deduplication.

9 years agoUI: fix issue with previous commit, could show wrong tooltip.
Brecht Van Lommel [Fri, 18 Nov 2011 23:32:00 +0000 (23:32 +0000)]
UI: fix issue with previous commit, could show wrong tooltip.

9 years agoCamera Sensor:
Brecht Van Lommel [Fri, 18 Nov 2011 23:15:11 +0000 (23:15 +0000)]
Camera Sensor:
* Tweak description of sensor fit property.
* Fix sensor display for auto and vertical fit.
* Fix incorrect aspect ratio for camera frame drawing.

9 years agoFix [#29018] Problem with multi-column dorpdown lists, when scrolling is enabled...
Bastien Montagne [Fri, 18 Nov 2011 23:10:56 +0000 (23:10 +0000)]
Fix [#29018] Problem with multi-column dorpdown lists, when scrolling is enabled: the bottom-most elements are not shown.

ui_popup_block_scrolltest needs to be aware whether uiblock is flip or not, to avoid hiding irrelevant items in multi-column scrolled menus...

9 years agoCamera: more code refactoring, adding a function to create CameraParams from
Brecht Van Lommel [Fri, 18 Nov 2011 21:19:03 +0000 (21:19 +0000)]
Camera: more code refactoring, adding a function to create CameraParams from
3d view, deduplicating the complex code for setting up the viewplane.

9 years agoUI: small tweak to tooltips for enum menus, it wasn't very clear which
Brecht Van Lommel [Fri, 18 Nov 2011 21:06:36 +0000 (21:06 +0000)]
UI: small tweak to tooltips for enum menus, it wasn't very clear which
description was for the property and which for the item.

9 years agoFix #29321: Video does not display, gets frozen or flickers
Sergey Sharybin [Fri, 18 Nov 2011 20:55:06 +0000 (20:55 +0000)]
Fix #29321: Video does not display, gets frozen or flickers

Unfortunately, error was caused by own attempt to deal with some kind of broken
videos when was investigating crashes in sequencer. Issue discovered that time
was related on values stored in timecode index and using them as signed data type

Trying to use unsigned value here leads to signed/unsigned check failures.

Prefer just to pre-process that kind of videos i've been trying to deal with
rather than making more global changes during BCON3.

9 years agoerror with recent commit, thanks Ender79 for finding.
Campbell Barton [Fri, 18 Nov 2011 17:28:19 +0000 (17:28 +0000)]
error with recent commit, thanks Ender79 for finding.

9 years agoUpdated stubs so blenderplayer is compiling again.
Sergey Sharybin [Fri, 18 Nov 2011 16:49:03 +0000 (16:49 +0000)]
Updated stubs so blenderplayer is compiling again.

9 years agospeedup for editmesh tesselation (approx 4.4x speedup in optimized builds),
Campbell Barton [Fri, 18 Nov 2011 16:06:20 +0000 (16:06 +0000)]
speedup for editmesh tesselation (approx 4.4x speedup in optimized builds),
this is important because it runs while transforming the mesh in editmode.

also made this code a bit more efficient.

9 years agoCamera: some code refactoring, use an intermediate CameraParams struct instead
Brecht Van Lommel [Fri, 18 Nov 2011 15:52:00 +0000 (15:52 +0000)]
Camera: some code refactoring, use an intermediate CameraParams struct instead
of long list of variables everywhere. Intention is to also let 3d view use this
eventually, instead of duplicating code.

9 years agoCycles: try to avoid NaN pixels with oren nayar. Also small cmake code cleanup.
Brecht Van Lommel [Fri, 18 Nov 2011 15:39:40 +0000 (15:39 +0000)]
Cycles: try to avoid NaN pixels with oren nayar. Also small cmake code cleanup.

9 years agoRe-commit reverted changes from rev41394. was accidentally
Sergey Sharybin [Fri, 18 Nov 2011 15:29:40 +0000 (15:29 +0000)]
Re-commit reverted changes from rev41394. was accidentally
reverted when trunk was prepared for tomato merge.

9 years agoCamera tracking: multiply all camera matrices by inverted first reconstructed camera...
Sergey Sharybin [Fri, 18 Nov 2011 14:42:18 +0000 (14:42 +0000)]
Camera tracking: multiply all camera matrices by inverted first reconstructed camera matrix

This makes blender camera:
- Be located on exactly the same position at first frame after applying
  Camera Solver constraint
- Be looking in exactly the same direction it used to look before
  applying Camera Solver constraint

Before this patch in most of cases camera used to change direction
after applying solved data on it which can be confusing in some cases.

Currently solved files wouldn't be broken, but after solve scene should
be re-oriented. Not big deal because re-solving isn't so safe for scene
orientation anyway.

9 years agoRename bgpic.add() to to correspond others collections like
Sergey Sharybin [Fri, 18 Nov 2011 14:28:45 +0000 (14:28 +0000)]
Rename bgpic.add() to to correspond others collections like
render layers, vertices groups and so.
Also added bgpig.remove() function to remove specified picture.

9 years agomesh_recalcTesselation speedup, ski[ check for 3-4 sided faces - dont use scanfill...
Campbell Barton [Fri, 18 Nov 2011 12:18:44 +0000 (12:18 +0000)]
mesh_recalcTesselation speedup, ski[ check for 3-4 sided faces - dont use scanfill in these cases.
overall 6x speedup on an optized build (Suzanne subsurf level 5, applied)

9 years agofix [#28676] Tris to Quads: "Max Angle" is not interpreted correctly
Campbell Barton [Fri, 18 Nov 2011 09:41:39 +0000 (09:41 +0000)]
fix [#28676] Tris to Quads: "Max Angle" is not interpreted correctly

9 years agosvn merge ^/trunk/blender -r41954:41961
Campbell Barton [Fri, 18 Nov 2011 09:34:45 +0000 (09:34 +0000)]
svn merge ^/trunk/blender -r41954:41961

9 years agomake RNA_def_float_rotation usable for single value rotations (not arrays).
Campbell Barton [Fri, 18 Nov 2011 09:23:55 +0000 (09:23 +0000)]
make RNA_def_float_rotation usable for single value rotations (not arrays).

9 years agoMoving spanish code from es_ES to es for now (as the best spanish translation is...
Bastien Montagne [Fri, 18 Nov 2011 09:16:29 +0000 (09:16 +0000)]
Moving spanish code from es_ES to es for now (as the best spanish translation is es.po...).

Else, gettext first search into es_ES (and es_MX it seems???), before using content from es, which currently is not good.

9 years agoSet floor fails to make camera be in positive Z half-space if it was parented to...
Sergey Sharybin [Fri, 18 Nov 2011 08:48:33 +0000 (08:48 +0000)]
Set floor fails to make camera be in positive Z half-space if it was parented to other object.

9 years agoedits to 41957, main changes to render layer removal.
Campbell Barton [Fri, 18 Nov 2011 08:42:44 +0000 (08:42 +0000)]
edits to 41957, main changes to render layer removal.
- report an error if the layer can't be removed
- check the render layer is in the list before removing

9 years agoAdded methods new and remove to scene.render.layers, so now render layers
Sergey Sharybin [Fri, 18 Nov 2011 07:11:54 +0000 (07:11 +0000)]
Added methods new and remove to scene.render.layers, so now render layers
can be created and removed from scripts.

9 years agoexclude addons_contrib for release builds for scons/osx too
Campbell Barton [Fri, 18 Nov 2011 05:14:13 +0000 (05:14 +0000)]
exclude addons_contrib for release builds for scons/osx too

9 years agosvn merge ^/trunk/blender -r41939:41954
Campbell Barton [Fri, 18 Nov 2011 05:06:53 +0000 (05:06 +0000)]
svn merge ^/trunk/blender -r41939:41954

9 years agotab -> spaces
Campbell Barton [Fri, 18 Nov 2011 04:55:43 +0000 (04:55 +0000)]
tab -> spaces

9 years agodocument py gotchas
Campbell Barton [Fri, 18 Nov 2011 04:48:27 +0000 (04:48 +0000)]
document py gotchas
- dont assume you get the data names you ask for
- beware of collisions with library names
- beware of py modules calling sys.exit

9 years agoaddons in contrib now have their own 'Testing' category which is off by default.
Campbell Barton [Thu, 17 Nov 2011 20:11:20 +0000 (20:11 +0000)]
addons in contrib now have their own 'Testing' category which is off by default.

9 years agoexclude addons_contrib/ for release builds.
Campbell Barton [Thu, 17 Nov 2011 19:43:59 +0000 (19:43 +0000)]
exclude addons_contrib/ for release builds.

9 years agoTweaks and fixes to UI messages, found while translating in french.
Bastien Montagne [Thu, 17 Nov 2011 19:26:50 +0000 (19:26 +0000)]
Tweaks and fixes to UI messages, found while translating in french.

9 years agoFix [#29256] Import images as planes add on doesn't work correctly in bmesh
Andrew Wiggin [Thu, 17 Nov 2011 18:48:49 +0000 (18:48 +0000)]
Fix [#29256] Import images as planes add on doesn't work correctly in bmesh

9 years agoadd flag FUNC_USE_MAIN for rna functions which don't need the context. (currently...
Campbell Barton [Thu, 17 Nov 2011 18:41:37 +0000 (18:41 +0000)]
add flag FUNC_USE_MAIN for rna functions which don't need the context. (currently unused)

9 years agocentralize some of the came install commands, were being copied between osx/win/linux
Campbell Barton [Thu, 17 Nov 2011 18:23:34 +0000 (18:23 +0000)]
centralize some of the came install commands, were being copied between osx/win/linux

9 years agopyapi feature from 2.4x
Campbell Barton [Thu, 17 Nov 2011 08:47:34 +0000 (08:47 +0000)]
pyapi feature from 2.4x

allow collection subscript to contain the library or None.

eg:["Mesh", "/subsurf_test.blend"]["Scene", None]

  # also works with get()"some_armature", "//some_lib.blend"), None)

9 years agoFixed comment in BLI_dlrbTree_search_exact
Konrad Kleine [Thu, 17 Nov 2011 08:02:36 +0000 (08:02 +0000)]
Fixed comment in BLI_dlrbTree_search_exact

9 years agopydrivers: 'frame' is now in the driver namespace,
Campbell Barton [Thu, 17 Nov 2011 07:08:09 +0000 (07:08 +0000)]
pydrivers: 'frame' is now in the driver namespace,

- no need to link to scenes when using a frame from the pydriver, this made linking rigs for eg, quite messy.
- advantage that we get subframe values (where scenes from was fixed to a whole number).

9 years agowarning cleanup
Andrew Wiggin [Thu, 17 Nov 2011 06:08:58 +0000 (06:08 +0000)]
warning cleanup

9 years agosvn merge ^/trunk/blender -r41932:41939
Campbell Barton [Thu, 17 Nov 2011 05:33:02 +0000 (05:33 +0000)]
svn merge ^/trunk/blender -r41932:41939

9 years agoAdd access to UVs from python, patch python unwrap scripts to work wtih ngons
Andrew Wiggin [Thu, 17 Nov 2011 05:03:07 +0000 (05:03 +0000)]
Add access to UVs from python, patch python unwrap scripts to work wtih ngons

9 years agopass encoding to uses of decode() incase the default isnt utf-8. ignore decode errors...
Campbell Barton [Thu, 17 Nov 2011 04:05:54 +0000 (04:05 +0000)]
pass encoding to uses of decode() incase the default isnt utf-8. ignore decode errors in some cases.

This should fix an error with generated qtcreator projects.

also replace decoded bytes for unicode escape sequences in the VIEW3D_MT_edit_text_chars menu.

9 years agoBLI_mempool redefined causing compile time error, removing duplicate typedef
Antony Riakiotakis [Wed, 16 Nov 2011 22:20:17 +0000 (22:20 +0000)]
BLI_mempool redefined causing compile time error, removing duplicate typedef

9 years agoUI: editor splitting widgets in corners now draw antialiased, also fix 1 pixel
Brecht Van Lommel [Wed, 16 Nov 2011 20:36:06 +0000 (20:36 +0000)]
UI: editor splitting widgets in corners now draw antialiased, also fix 1 pixel
inconsistency between bottom-left and top-right.

9 years agoFix [#29190] VSE bugs.
Bastien Montagne [Wed, 16 Nov 2011 20:03:54 +0000 (20:03 +0000)]
Fix [#29190] VSE bugs.

Only real bug was, that effect strips' start frame and length were editable. Made all four frame properties readonly on RNA level for those kind of strips (those for which get_sequence_effect_num_inputs returns a non-null value).

Also fixed the tooltip of frame_final_duration.

9 years agosvn merge -r41926:41932 ^/trunk/blender
Campbell Barton [Wed, 16 Nov 2011 19:57:20 +0000 (19:57 +0000)]
svn merge -r41926:41932 ^/trunk/blender

9 years agomerge mempool changes from bmesh (adds mempool iterator).
Campbell Barton [Wed, 16 Nov 2011 19:31:42 +0000 (19:31 +0000)]
merge mempool changes from bmesh (adds mempool iterator).

9 years agoremove NULL check for the pool, trunk doesnt have this, caller better check.
Campbell Barton [Wed, 16 Nov 2011 19:26:11 +0000 (19:26 +0000)]
remove NULL check for the pool, trunk doesnt have this, caller better check.

9 years agoFix #29260: Missing "Extend" parameter for Border Select
Sergey Sharybin [Wed, 16 Nov 2011 19:22:14 +0000 (19:22 +0000)]
Fix #29260: Missing "Extend" parameter for Border Select

Added "Extend" flag to border select operators for editors:
- UV Editor
- Sequencer
- Info Space
- Graph Editor
- File Browser
- Clip Editor
- Action Editor
- Channels and markers regions

Can be used for custom keymaps.

9 years agobetter alignement for BLI_mempool struct
Campbell Barton [Wed, 16 Nov 2011 19:17:33 +0000 (19:17 +0000)]
better alignement for BLI_mempool struct

9 years agosvn merge -r41899:41926 ^/trunk/blender. also sync mempool with trunk and move BLI_me...
Campbell Barton [Wed, 16 Nov 2011 19:06:38 +0000 (19:06 +0000)]
svn merge -r41899:41926 ^/trunk/blender. also sync mempool with trunk and move BLI_mempool_alloc out of mempools header where it was inlined

9 years agoDynamic Paint:
Miika Hamalainen [Wed, 16 Nov 2011 18:32:28 +0000 (18:32 +0000)]
Dynamic Paint:
* Wave simulation speed doesn't anymore depend on surface size, but uses relative distances instead. This change will likely change simulation behavior on existing saves, but can be easily tweaked back using the "Wave Speed" parameter.
* Added a new wave brush type, "Depth Change". It uses the change of brush intersection between frames, giving a better looking "wake" for moving objects. It also doesn't leave any "dent" to the surface while remaining still.

9 years agoreplace macros with math functions
Campbell Barton [Wed, 16 Nov 2011 17:37:20 +0000 (17:37 +0000)]
replace macros with math functions

9 years agoquiet compiler warnings for BLI_array defines, split BLI_array_append into BLI_array_...
Campbell Barton [Wed, 16 Nov 2011 17:09:41 +0000 (17:09 +0000)]
quiet compiler warnings for BLI_array defines, split BLI_array_append into BLI_array_append / BLI_array_append_r, the latter returning the new array location.

9 years agominor edits, move mempool stack vars into the nested scope when they aren't likely...
Campbell Barton [Wed, 16 Nov 2011 16:50:30 +0000 (16:50 +0000)]
minor edits, move mempool stack vars into the nested scope when they aren't likely to be used, also formatting edits (was quite un-blender like).

9 years agominor cleanup
Campbell Barton [Wed, 16 Nov 2011 16:38:37 +0000 (16:38 +0000)]
minor cleanup
- remove / comment unused python vars
- replace mul_v3_fl(somevec, -1.0f); with negate_v3(somevec);

9 years agoCycles: cmake build system tweak, might solve compile issue.
Brecht Van Lommel [Wed, 16 Nov 2011 16:28:19 +0000 (16:28 +0000)]
Cycles: cmake build system tweak, might solve compile issue.

9 years agoFix #29292: cycles not loading linked image datablocks correctly.
Brecht Van Lommel [Wed, 16 Nov 2011 16:10:11 +0000 (16:10 +0000)]
Fix #29292: cycles not loading linked image datablocks correctly.

9 years agoFix #29293: NLA Strip modifiers don't survive save/reload. One letter
Brecht Van Lommel [Wed, 16 Nov 2011 16:08:45 +0000 (16:08 +0000)]
Fix #29293: NLA Strip modifiers don't survive save/reload. One letter
can make a big difference :)

9 years agoedit the _BLI_array_growone macro so it doesnt give the error that values are calcula...
Campbell Barton [Wed, 16 Nov 2011 15:49:48 +0000 (15:49 +0000)]
edit the _BLI_array_growone macro so it doesnt give the error that values are calculated but not used.

9 years agoFix #29093: world zenith up and down texture influence were not working
Brecht Van Lommel [Wed, 16 Nov 2011 15:47:25 +0000 (15:47 +0000)]
Fix #29093: world zenith up and down texture influence were not working
correct. These were decoupled from horizon influence for 2.5, but not
actually used in the render engine.

9 years agotag index arrays as dirty when any element is removed, also check validity on operato...
Campbell Barton [Wed, 16 Nov 2011 14:36:23 +0000 (14:36 +0000)]
tag index arrays as dirty when any element is removed, also check validity on operator init/exit (check was missed in some cases before)

9 years agoFix #29160: material node "Texture" didn't use default texture coordinates
Brecht Van Lommel [Wed, 16 Nov 2011 14:13:43 +0000 (14:13 +0000)]
Fix #29160: material node "Texture" didn't use default texture coordinates
anymore when nothing was connected to the socket.

9 years agoFix #29243: unlink texture datablock from material node in texture properties
Brecht Van Lommel [Wed, 16 Nov 2011 13:49:51 +0000 (13:49 +0000)]
Fix #29243: unlink texture datablock from material node in texture properties
could crash, RNA pointer from context was invalid.

9 years agoPep8 changes for motion tracking py scripts
Sergey Sharybin [Wed, 16 Nov 2011 13:39:58 +0000 (13:39 +0000)]
Pep8 changes for motion tracking py scripts

9 years agoBM_Compute_Normals was setting invalid edge index values when it didn't need to.
Campbell Barton [Wed, 16 Nov 2011 13:23:29 +0000 (13:23 +0000)]
BM_Compute_Normals was setting invalid edge index values when it didn't need to.

9 years agoensure dirty flags / index arrays are in a valid state before & after executing a...
Campbell Barton [Wed, 16 Nov 2011 13:06:49 +0000 (13:06 +0000)]
ensure dirty flags / index arrays are in a valid state before & after executing a BMO in debug mode.

9 years agofix for error in last commit, also make BM_ElemIndex_Validate() check dirty flag...
Campbell Barton [Wed, 16 Nov 2011 12:56:33 +0000 (12:56 +0000)]
fix for error in last commit, also make BM_ElemIndex_Validate() check dirty flag and complain if its set when it didnt need to be (this function isnt called yet)

9 years agoFix #29287: cycles and other external render engines did not print correct frame
Brecht Van Lommel [Wed, 16 Nov 2011 12:47:37 +0000 (12:47 +0000)]
Fix #29287: cycles and other external render engines did not print correct frame
number in background render.

9 years agoDefault cache file paths for ocean and fluidsim modifiers are now "<temp folder>...
Lukas Toenne [Wed, 16 Nov 2011 12:43:12 +0000 (12:43 +0000)]
Default cache file paths for ocean and fluidsim modifiers are now "<temp folder>/ocean_cache/" and "<temp_folder>/fluid_cache/" when the file is not saved yet at the time the modifiers are created.

If it has been saved, the file paths are relative to the .blend: "//ocean_cache/" and "//fluid_cache/".

This should at least partially fix bug #29273. Particle external point caches are not changed.

9 years agoprepare for flagging the bmesh has having invalid index values, so we can skip loopin...
Campbell Barton [Wed, 16 Nov 2011 12:38:40 +0000 (12:38 +0000)]
prepare for flagging the bmesh has having invalid index values, so we can skip looping over all elements if its already valid.

- went over every BM_SetIndex call and added comments about its use, if its setting dirty values or correct ones.
- replace loops over all elements _just_ to set index values, with a new function, BM_ElemIndex_Ensure(...), this will eventually only initialize values when they are dirty.

9 years agoFix #29288: armature draw type wire + manipulator draw issue.
Brecht Van Lommel [Wed, 16 Nov 2011 12:27:24 +0000 (12:27 +0000)]
Fix #29288: armature draw type wire + manipulator draw issue.

9 years agoCLIP_OT_delete_proxy missed a space-type test in its poll func (was noisy with the...
Bastien Montagne [Wed, 16 Nov 2011 11:52:31 +0000 (11:52 +0000)]
CLIP_OT_delete_proxy missed a space-type test in its poll func (was noisy with the space-menu in 3D views :P ).

9 years agoCamera tracking: forbid focal length=0 and small code cleanup
Sergey Sharybin [Wed, 16 Nov 2011 10:00:02 +0000 (10:00 +0000)]
Camera tracking: forbid focal length=0 and small code cleanup

9 years agoset the index on newly added vert/edge/faces
Campbell Barton [Wed, 16 Nov 2011 06:17:56 +0000 (06:17 +0000)]
set the index on newly added vert/edge/faces

added BM_ElemIndex_Ensure(...), not used yet.

9 years agoformatting edits & doc correction, no functional changes.
Campbell Barton [Wed, 16 Nov 2011 03:56:34 +0000 (03:56 +0000)]
formatting edits & doc correction, no functional changes.

9 years agosupport for creating project files in utf8 paths (was defaulting to ascii and throwin...
Campbell Barton [Wed, 16 Nov 2011 03:44:08 +0000 (03:44 +0000)]
support for creating project files in utf8 paths (was defaulting to ascii and throwing errors)

9 years agosvn merge -r41847:41899 ^/trunk/blender
Campbell Barton [Wed, 16 Nov 2011 03:10:15 +0000 (03:10 +0000)]
svn merge -r41847:41899 ^/trunk/blender

9 years agoPartial Bugfix 2: [#29229] Outliner RMB commands unexpected results
Joshua Leung [Wed, 16 Nov 2011 02:14:39 +0000 (02:14 +0000)]
Partial Bugfix 2: [#29229] Outliner RMB commands unexpected results

RenderLayers and RenderPasses don't show the generic Hide/Unhide/Select/Deselect
popup which is irrelevant for this use case. I've included a commented-out call
here that can be replaced when we have some operations which can be performed on
this data (*)

(*) For new devs looking to get into blender dev, this could be a nice little
project to work on.

9 years agoPartial Bugfix: [#29229] Outliner RMB commands unexpected results
Joshua Leung [Wed, 16 Nov 2011 00:13:38 +0000 (00:13 +0000)]
Partial Bugfix: [#29229] Outliner RMB commands unexpected results

This commit implements the Unlink and Make Single User capabilities for World
datablocks in the Outliner

9 years agoFix #29232: on background render where it could not find the .blend file, the
Brecht Van Lommel [Tue, 15 Nov 2011 23:03:35 +0000 (23:03 +0000)]
Fix #29232: on background render where it could not find the .blend file, the
default cube would be rendered instead, now stops processing arguments after
failed file load.

9 years agoFix #29278: cycles crash with displacement method both.
Brecht Van Lommel [Tue, 15 Nov 2011 22:09:30 +0000 (22:09 +0000)]
Fix #29278: cycles crash with displacement method both.

9 years agoOSX: buildfix for itask on 10.5.sdk
Jens Verwiebe [Tue, 15 Nov 2011 21:55:07 +0000 (21:55 +0000)]
OSX: buildfix for itask on 10.5.sdk

9 years agoFix #28936: UV unwrap issue with meshes with inconsistent normals.
Brecht Van Lommel [Tue, 15 Nov 2011 21:16:37 +0000 (21:16 +0000)]
Fix #28936: UV unwrap issue with meshes with inconsistent normals.