blender.git
9 years agoupdate the man page from blenders --help message
Campbell Barton [Mon, 8 Nov 2010 21:13:44 +0000 (21:13 +0000)]
update the man page from blenders --help message

9 years agoSmall bug, reported by Andy in irc:
Ton Roosendaal [Mon, 8 Nov 2010 19:03:42 +0000 (19:03 +0000)]
Small bug, reported by Andy in irc:
Image editor & texture properties, add new Image, inits 'start' now
to frame 1 for sequences.

Added triple-X warning in Image Open operator, it uses SpaceImage whilst
it can be called from other editors. Code is safe but not correct.

9 years agoFixed own mistake from previous commit -- get_levels_from_disps can't be used
Sergey Sharybin [Mon, 8 Nov 2010 14:39:36 +0000 (14:39 +0000)]
Fixed own mistake from previous commit -- get_levels_from_disps can't be used
when handling topology changes.
Added grid size detection based on totdisp and corners count.

9 years agoPatch [#24608] Fix for typo and better indentation in command line help by Susanne...
Thomas Dinges [Mon, 8 Nov 2010 14:08:22 +0000 (14:08 +0000)]
Patch [#24608] Fix for typo and better indentation in command line help by Susanne H. (sanne). Thanks!

9 years agoFix crash when creating new faces in edit mode
Sergey Sharybin [Mon, 8 Nov 2010 14:00:23 +0000 (14:00 +0000)]
Fix crash when creating new faces in edit mode

- Do not check corners count if totdisp is set to 0
- Allocate memory for such mdisps to prevent the whole disp layer erasing

9 years agoFix for [#24597] Option External in Smoke cache affects settings of start and end...
Janne Karhu [Mon, 8 Nov 2010 11:19:53 +0000 (11:19 +0000)]
Fix for [#24597] Option External in Smoke cache affects settings of start and end frame of simulation
* Don't change anything in the pointcache unless a valid external cache is found.

9 years agoBetter name for smoke "gravity" parameter and more descriptive tooltips.
Janne Karhu [Mon, 8 Nov 2010 11:13:46 +0000 (11:13 +0000)]
Better name for smoke "gravity" parameter and more descriptive tooltips.

9 years agofix for not being able to select the camera while in the camera view, also draw the...
Campbell Barton [Mon, 8 Nov 2010 09:38:48 +0000 (09:38 +0000)]
fix for not being able to select the camera while in the camera view, also draw the camera unscaled in the 3D view.

9 years agoSecond fix for [#24476] The driver is not displayed in GraphEditor.
Janne Karhu [Mon, 8 Nov 2010 09:05:27 +0000 (09:05 +0000)]
Second fix for [#24476] The driver is not displayed in GraphEditor.
* Texture data still wasn't shown if material didn't have animation data.
* Also unified the material/texture filtering logic a bit.

9 years agobugfix [#24583] Mesh.from_pydata does not properly construct faces
Campbell Barton [Mon, 8 Nov 2010 07:59:34 +0000 (07:59 +0000)]
bugfix [#24583] Mesh.from_pydata does not properly construct faces

9 years agofix for CMake file grouping with MSVC project files.
Campbell Barton [Mon, 8 Nov 2010 06:31:45 +0000 (06:31 +0000)]
fix for CMake file grouping with MSVC project files.

9 years agochange from recent commit. when orbiting out of the camera view switch to the last...
Campbell Barton [Mon, 8 Nov 2010 03:55:03 +0000 (03:55 +0000)]
change from recent commit. when orbiting out of the camera view switch to the last used perspective.

9 years agofix for glitches with quad-split view.
Campbell Barton [Mon, 8 Nov 2010 03:44:52 +0000 (03:44 +0000)]
fix for glitches with quad-split view.
- Home or Numpad Period with smoothview disabled were not syncing up the other views.
- Disabling clip only disabled clip syncing but left clip enabled for all views.
- Clip was being calculated for every update even when not enabled.
- The perspective view was being used to copy settings from when changing box & clip settings, resetting the distance each time. Now use one of the aligned views instead.

9 years ago- when orbiting the view out of camera mode use the ortho/persp setting of the camera.
Campbell Barton [Mon, 8 Nov 2010 02:30:46 +0000 (02:30 +0000)]
- when orbiting the view out of camera mode use the ortho/persp setting of the camera.
- display the physical size of a ortho camera since, unlike a perspective camera the ortho scale can be converted into a plane with real size.

9 years agoBugfix: NLA Channel Borderselect works again
Joshua Leung [Mon, 8 Nov 2010 00:09:31 +0000 (00:09 +0000)]
Bugfix: NLA Channel Borderselect works again

9 years agocompiler warning fixes
Campbell Barton [Sun, 7 Nov 2010 23:22:40 +0000 (23:22 +0000)]
compiler warning fixes

9 years ago[#24594] Edge weighting while making subsurf
Campbell Barton [Sun, 7 Nov 2010 23:02:08 +0000 (23:02 +0000)]
[#24594] Edge weighting while making subsurf
use shift+e for crease as in 2.4x

9 years ago[#24593] Cloud Depth setting above 30 cause texture corruption
Campbell Barton [Sun, 7 Nov 2010 22:48:51 +0000 (22:48 +0000)]
[#24593] Cloud Depth setting above 30 cause texture corruption
disallow cloud depth over 30, it causes a lot of floating point exceptions (and nan value pixels), because of hitting the int limit with 1<<(oct+1) in BLI_gTurbulence

9 years agoUI Scripts World:
Thomas Dinges [Sun, 7 Nov 2010 20:48:09 +0000 (20:48 +0000)]
UI Scripts World:
* Remove poll, not needed anymore.

9 years agoRemove code duplication.
Andrea Weikert [Sun, 7 Nov 2010 18:16:27 +0000 (18:16 +0000)]
Remove code duplication.
Will look into nicely using uiStyleFontDraw later.

9 years agoEnabled kerning for the default UI font for the places that are using UI_DrawString...
Andrea Weikert [Sun, 7 Nov 2010 18:01:32 +0000 (18:01 +0000)]
Enabled kerning for the default UI font for the places that are using UI_DrawString still and for filebrowser.
Makes text more readable :)

9 years agofix ford last commit - also remove file from CMakeLists.txt
Andrea Weikert [Sun, 7 Nov 2010 17:14:10 +0000 (17:14 +0000)]
fix ford last commit - also remove file from CMakeLists.txt

9 years agoremoved unused code for image loading, was copied from 2.49 and never used.
Andrea Weikert [Sun, 7 Nov 2010 16:22:25 +0000 (16:22 +0000)]
removed unused code for image loading, was copied from 2.49 and never used.

9 years agoRaised soft limit for cloud texture noise to 24 for easier access.
Andrea Weikert [Sun, 7 Nov 2010 16:20:44 +0000 (16:20 +0000)]
Raised soft limit for cloud texture noise to 24 for easier access.

9 years agoRemoval of more ancient stuff. (Help url and some cygwin build file, which is not...
Thomas Dinges [Sun, 7 Nov 2010 16:19:13 +0000 (16:19 +0000)]
Removal of more ancient stuff. (Help url and some cygwin build file, which is not in use anymore)

9 years agoremove BLI_bfile, has been in blenders source for quite some time but remains unused.
Campbell Barton [Sun, 7 Nov 2010 16:02:17 +0000 (16:02 +0000)]
remove BLI_bfile, has been in blenders source for quite some time but remains unused.
can add back in if its ready to be used ofcourse.

9 years agofix [#24554] Blender does not remember name of last saved picture
Andrea Weikert [Sun, 7 Nov 2010 15:07:14 +0000 (15:07 +0000)]
fix [#24554] Blender does not remember name of last saved picture
* image name is now set when the file is actually saved if it is empty. Otherwise it is only changed if we're not saving a copy.
* If previous image name is empty, filename will be 'untitled.png' for png saving.

NOTE: if we saved a copy of 'render.png' as render1.png, the save image dialog will be re-opened with the image name that Blender has (render.png) rather than render1.png.

9 years agoBugfix #24585
Ton Roosendaal [Sun, 7 Nov 2010 14:57:24 +0000 (14:57 +0000)]
Bugfix #24585

Quad view split 3D window: didn't work for "box lock" option when
using "view all" or "view selected".
Made it work nicely for animated 'smooth' view too.

9 years agoPartial fix for NLA Channel-List Border Select. This part of the fix gets the selecti...
Joshua Leung [Sun, 7 Nov 2010 12:15:21 +0000 (12:15 +0000)]
Partial fix for NLA Channel-List Border Select. This part of the fix gets the selection ranges right. The next part of the fix (for tomorrow) will involve setting up access for NLA-Track properties...

9 years agoAnimation Editors: Channel Reordering
Joshua Leung [Sun, 7 Nov 2010 12:09:15 +0000 (12:09 +0000)]
Animation Editors: Channel Reordering

This commit restores the ability to reorder channels in the animation editors (DopeSheet/Action/etc., Graph/Drivers, NLA). The hotkeys for this are:
- Shift-PageUp = Move Up
- Shift-PageDown = Move Down

- Ctrl-Shift-PageUp = Move to Top of List
- Ctrl-Shift-PageDown = Move to Bottom of List

Do note that only animation data can get reordered using this.
So, do not expect to be able to change the object order (that is actually taken from the order that Blender actually evaluates them per update/frame).

---

In the process, I've fixed a couple of other bugs:
* Removed 'optimisation step' check in anim_filter.c for dopesheet with no filtering options modified, since this meant that the ANIMFILTER_ANIMDATA data filter was not getting processed (and potentially there were other maintenance problems with that).

* Made NLA Editor's channel list not totally duplicate the basic Animation Channels keymap. Instead, the "NLA Channels" keymap now only defines the parts that are different, and this then gets specified before the standard one so that these different parts will override the standard ones.

* Attempted to fix BorderSelect on NLA Channels list. Still not totally working correctly yet though.

* Moved "Euler Discontinuity" menu entry from "Channels" to "Keys". It really belongs in the latter, since it affects the keyframe values, rather than some aspect of the channel (i.e. ordering of channels or how they're displayed)

9 years agouse RV3D_CAMOB define, theres no reason to use >= comparison either.
Campbell Barton [Sun, 7 Nov 2010 10:36:06 +0000 (10:36 +0000)]
use RV3D_CAMOB define, theres no reason to use >= comparison either.
also fixed opengl render ortho test.

9 years agoInverted the opacity setting for Background Images through RNA.
Campbell Barton [Sun, 7 Nov 2010 09:53:39 +0000 (09:53 +0000)]
Inverted the opacity setting for Background Images through RNA.
I was testing with a patched blender where this wasn't a problem else I'd have noticed.

9 years ago- avoid loop within loop for unique naming function (even though it wasnt likely...
Campbell Barton [Sun, 7 Nov 2010 09:33:10 +0000 (09:33 +0000)]
- avoid loop within loop for unique naming function (even though it wasnt likely to run often).
- off by 1 error with outliner naming length. was 1 too short.

9 years agode-duplicate unique naming logic, was used in 7 different places, convert into a...
Campbell Barton [Sun, 7 Nov 2010 08:49:07 +0000 (08:49 +0000)]
de-duplicate unique naming logic, was used in 7 different places, convert into a function call.

9 years agobugfix [#24574] setting location gained from a matrix_world.copy().translation_part...
Campbell Barton [Sun, 7 Nov 2010 05:59:35 +0000 (05:59 +0000)]
bugfix [#24574] setting location gained from a matrix_world.copy().translation_part() (visual loc) after constraints causes NAN in object location after python script ends
shrinkwrap constraint was dividing by zero. also the shrinkwrap UI was incorrectly trying to draw a subtarget.

9 years agobugfix [#24575] On file save plus and minus don't re-evaluate whether a file exists
Campbell Barton [Sun, 7 Nov 2010 05:35:41 +0000 (05:35 +0000)]
bugfix [#24575] On file save plus and minus don't re-evaluate whether a file exists
actually it was re-evaluated. just the flag was overwritten by the old button.

9 years agobetter exception check for calling operators. non dict/None values were being treated...
Campbell Barton [Sun, 7 Nov 2010 04:46:50 +0000 (04:46 +0000)]
better exception check for calling operators. non dict/None values were being treated as None.

9 years agopatch [#24576] aud.Handle.status return bool
Campbell Barton [Sun, 7 Nov 2010 04:34:27 +0000 (04:34 +0000)]
patch [#24576] aud.Handle.status return bool
from Dan Eicher (dna), no functional changes, just return bool rather then int types.

9 years agopatch [#24577] MESH_OT_noise. Adds missing 2.4x noise vertex displace functionality.
Campbell Barton [Sun, 7 Nov 2010 03:56:58 +0000 (03:56 +0000)]
patch [#24577] MESH_OT_noise. Adds missing 2.4x noise vertex displace functionality.
from Dan Eicher (dna)

Also added a factor option so you can adjust the amount of noise applied.

9 years agocommitted by mistake
Campbell Barton [Sun, 7 Nov 2010 03:45:55 +0000 (03:45 +0000)]
committed by mistake

9 years agoFix for [#24569] F11 no longer functional after image save
Janne Karhu [Sat, 6 Nov 2010 22:37:29 +0000 (22:37 +0000)]
Fix for [#24569] F11 no longer functional after image save
* Same fix was already in ED_area_prevspace().

9 years agoFix for [#24476] The driver is not displayed in GraphEditor.
Janne Karhu [Sat, 6 Nov 2010 22:23:37 +0000 (22:23 +0000)]
Fix for [#24476] The driver is not displayed in GraphEditor.
* TSK! give_current_material(..) is used with index+1
* Also very bad practice to use same loop variable name in a loop inside a loop.

9 years agoFix for [#24560] Cloth pinning breaks (when parenting?)
Janne Karhu [Sat, 6 Nov 2010 22:03:42 +0000 (22:03 +0000)]
Fix for [#24560] Cloth pinning breaks (when parenting?)
* Changing the pin group needs to redo the whole cloth object.
* Also, parent updates weren't flushed properly to pointcache in depsgraph.

9 years agoremove line which wasnt supposed to be committed.
Campbell Barton [Sat, 6 Nov 2010 21:42:27 +0000 (21:42 +0000)]
remove line which wasnt supposed to be committed.

9 years agoRename BG image Transparency to Opacity, Since 100% transparency is actually 100...
Campbell Barton [Sat, 6 Nov 2010 21:40:09 +0000 (21:40 +0000)]
Rename BG image Transparency to Opacity, Since 100% transparency is actually 100% opaque and this matches grease pencil.

9 years agoDo not hide the Indirect Lighting tab, caused some confusion.
Thomas Dinges [Sat, 6 Nov 2010 21:37:11 +0000 (21:37 +0000)]
Do not hide the Indirect Lighting tab, caused some confusion.
Now print an info that Indirect Light only works with Approximate in Trunk atm.

If someone knows a better solution, feel free to change.

9 years agoBug fix: Rendering with anti-aliasing disabled and full samples enabled crashed
Janne Karhu [Sat, 6 Nov 2010 21:32:58 +0000 (21:32 +0000)]
Bug fix: Rendering with anti-aliasing disabled and full samples enabled crashed
* Disabling anti-aliasing disables full samples in ui, so do that in render code too.

9 years ago== filebrowser ==
Andrea Weikert [Sat, 6 Nov 2010 18:54:15 +0000 (18:54 +0000)]
== filebrowser ==
Added two user preferences for filebrowser:

1. Hide Recent Locations
Requested by Kernon Dillon. Reason: People doing video tutorials might not want to expose the name of other projects they are working on.

2. Open Filebrowser in thumbnail view for images and movies
Requested by Sebastian K├Ânig at the Blender Conference. Reason: In the past (and most likely still) some corrupt images or movies could crash the filebrowser when generating thumbnails. (crashes in ffmpeg, libtiff, libjpg). While many of those were solved, artists in a production environment might want to use this setting to prevent any crashes.

NOTE: the second setting should probably be set next time we create a new default startup.blend. Until then users need to switch this on manually in the User Preferences.

9 years agoFix #24556: N Panel in Compositor doesn't work with Vector Normal node.
Brecht Van Lommel [Sat, 6 Nov 2010 17:55:43 +0000 (17:55 +0000)]
Fix #24556: N Panel in Compositor doesn't work with Vector Normal node.

9 years ago[#24565] editors/armature: overwritten return value
Martin Poirier [Sat, 6 Nov 2010 17:25:33 +0000 (17:25 +0000)]
[#24565] editors/armature: overwritten return value

Reported by Nicolas Kaiser

(error was turning off some optimization in etch-a-ton)

9 years agoFix crash in several cases when adding bevel on array modifier with merging switched on
Sergey Sharybin [Sat, 6 Nov 2010 17:19:40 +0000 (17:19 +0000)]
Fix crash in several cases when adding bevel on array modifier with merging switched on

Check if edge would be collapsed to single point after mapping in array modifier

9 years ago== filebrowser ==
Andrea Weikert [Sat, 6 Nov 2010 17:03:11 +0000 (17:03 +0000)]
== filebrowser ==
Center Text underneath the icons in thumbnail view. (Small request from Sergey)

9 years agoMinor adjustments in the readme file.
Thomas Dinges [Sat, 6 Nov 2010 16:17:49 +0000 (16:17 +0000)]
Minor adjustments in the readme file.

9 years ago== filebrowser ==
Andrea Weikert [Sat, 6 Nov 2010 16:09:12 +0000 (16:09 +0000)]
== filebrowser ==
Bringing back missing feature: Create new directory by typing a not existing name into the directory button.

Note: Small issue still with autocomplete -> if typing the new directory directly after autocomplete, it doesn't execute the operator yet.

Also fixed some minor compile/cleanup issues with warning about signed/unsigned comparison and missing header.

9 years agoFix bug with unneeded outline for filled 2d curves when converted to mesh
Sergey Sharybin [Sat, 6 Nov 2010 06:22:25 +0000 (06:22 +0000)]
Fix bug with unneeded outline for filled 2d curves when converted to mesh

- Revert of my old change in curve->mesh conversion
- Do not ignore DL_POLYs for surfaces -- they will never be filled,
  but ignore them for 2d curves -- they'll be filled with INDEX3 parts.

9 years agoRead external mdisp when hamdling topology changes
Sergey Sharybin [Fri, 5 Nov 2010 14:00:31 +0000 (14:00 +0000)]
Read external mdisp when hamdling topology changes

9 years agominor c90 compat edits. (no functional changes).
Campbell Barton [Fri, 5 Nov 2010 13:37:18 +0000 (13:37 +0000)]
minor c90 compat edits. (no functional changes).

9 years agodont change the file paths of sequence images, this is weak design because you can...
Campbell Barton [Fri, 5 Nov 2010 09:01:00 +0000 (09:01 +0000)]
dont change the file paths of sequence images, this is weak design because you can easily have 2 image users with different frame numbers so this ends up being which ever was last loaded.
Modified to image user template to show the current filename of the image.

9 years agotedious string copying changes
Campbell Barton [Fri, 5 Nov 2010 07:35:21 +0000 (07:35 +0000)]
tedious string copying changes
- use sizeof() in more places.
- fixed some off by 1 bugs copying strings. setting curve font family for instance was 1 char too short.
- replace strncpy and strcpy with BLI_strncpy

9 years agoworkaround/fix for [#24540] Adding the path to an image Editor in the file preference...
Campbell Barton [Fri, 5 Nov 2010 06:33:33 +0000 (06:33 +0000)]
workaround/fix for [#24540] Adding the path to an image Editor in the file preferences window messes up the path
when selecting paths from the user preferences always default relative option to off.
otherwise you get paths like '//..\..\..\..\Program Files\GIMP-2.0\bin\gimp-2.6.exe'

9 years agocentralize function for calculating pixel size. (no functional changes)
Campbell Barton [Fri, 5 Nov 2010 05:26:34 +0000 (05:26 +0000)]
centralize function for calculating pixel size. (no functional changes)

9 years agoadded back include file globbing for cmake, thought this was needed for MSVC only...
Campbell Barton [Fri, 5 Nov 2010 04:18:53 +0000 (04:18 +0000)]
added back include file globbing for cmake, thought this was needed for MSVC only but turns out QtCreator also needs this else it wont index headers.

9 years ago'Continue' zoom method for 2d views wasn't continuously updating. added a timer so...
Campbell Barton [Fri, 5 Nov 2010 03:54:54 +0000 (03:54 +0000)]
'Continue' zoom method for 2d views wasn't continuously updating. added a timer so it works like the 3D view.

9 years agoincorrect poll function for clearing/applying loc/rot/scale.
Campbell Barton [Fri, 5 Nov 2010 02:49:01 +0000 (02:49 +0000)]
incorrect poll function for clearing/applying loc/rot/scale.
Without an active object it wasn't possible to clear location on the selected objects for eg.

9 years agofix for missing NULL check with brush poll, reported by Mike S.
Campbell Barton [Fri, 5 Nov 2010 02:42:33 +0000 (02:42 +0000)]
fix for missing NULL check with brush poll, reported by Mike S.

9 years agofix for linking the player, also fixes building without python and bullet.
Campbell Barton [Fri, 5 Nov 2010 01:47:55 +0000 (01:47 +0000)]
fix for linking the player, also fixes building without python and bullet.

9 years agoBugfix #24535: File saved with NLA Strip in Tweakmode crashes on reload
Joshua Leung [Fri, 5 Nov 2010 00:09:45 +0000 (00:09 +0000)]
Bugfix #24535: File saved with NLA Strip in Tweakmode crashes on reload

Now the active strip doesn't just get cleared on fileload, but is relinked properly.

I had originally intended that files shouldn't be able to be saved with NLA data still in Tweakmode, but this turns out to be a bit more troublesome to get working as that would make undo keep popping out of this mode too.

Also reverting 32743 (bugfix for 24418), which was a hack around this.

9 years agoTemporary fix for "freezing when pointcache is baked":
Janne Karhu [Thu, 4 Nov 2010 20:17:38 +0000 (20:17 +0000)]
Temporary fix for "freezing when pointcache is baked":
* WM_timecursor is broken somehow, so pointcache baking makes the cursor disappear.
* For user this seems like blender has frozen although it's just a matter of no progress indication.
* This fix just sets the default "busy" cursor for the whole duration of baking and reports progress in the console.
* If there's and easy fix for this then it should probably be done straight away, but I want to re-implement baking using the job system soon anyways, so a proper fix for this is not strictly necessary.

9 years agoFix for [#24510] VSE SceneStrip problem when rendering animation
Janne Karhu [Thu, 4 Nov 2010 18:16:34 +0000 (18:16 +0000)]
Fix for [#24510] VSE SceneStrip problem when rendering animation

9 years agoFix for [#24513] VSE curves displaced from effect when source is moved numerically
Janne Karhu [Thu, 4 Nov 2010 17:02:32 +0000 (17:02 +0000)]
Fix for [#24513] VSE curves displaced from effect when source is moved numerically

9 years agoGlobal definition of _LARGEFILE_SOURCE, _FILE_OFFSET_BITS and _LARGEFILE64_SOURCE...
Sergey Sharybin [Thu, 4 Nov 2010 17:02:25 +0000 (17:02 +0000)]
Global definition of _LARGEFILE_SOURCE, _FILE_OFFSET_BITS and _LARGEFILE64_SOURCE at linux and win32/mingw platforms

Needed to work properly with large files at 32bit system (display correct size in file browser, i.e.)

This will also fix compilation with zlib 1.2.5

9 years agofor some reason even though this resizes areas more evenly on my system (and works...
Campbell Barton [Thu, 4 Nov 2010 16:17:37 +0000 (16:17 +0000)]
for some reason even though this resizes areas more evenly on my system (and works ok on Brecht's) theres a report that resizing views fail.
[#24529] Views Resizing Problems

now this is exactly like what it was before, hope its fixed.

9 years agoFix #24388: multires base mesh
Sergey Sharybin [Thu, 4 Nov 2010 16:00:28 +0000 (16:00 +0000)]
Fix #24388: multires base mesh

- MDisp should be re-allocated if face changed amount of vertices
- Allocate disps array in layerSwap_mdisps to prevent loosing all highres data

9 years agobugfix [#24009] Crash when switching area types and performing ops
Campbell Barton [Thu, 4 Nov 2010 15:59:09 +0000 (15:59 +0000)]
bugfix [#24009] Crash when switching area types and performing ops

9 years agowarn if blender is compiled without python
Campbell Barton [Thu, 4 Nov 2010 13:13:31 +0000 (13:13 +0000)]
warn if blender is compiled without python

9 years agofix to allow [#24009] to be fixed.
Campbell Barton [Thu, 4 Nov 2010 12:59:03 +0000 (12:59 +0000)]
fix to allow [#24009] to be fixed.

WM_operator_poll() could fail in cases WM_operator_name_call() would succeed because calling the operator would setup the context before calling poll.
this would result in python raising an invalid error or menu items being greyed out.

now python can also check with an operator context:
  bpy.ops.object.editmode_toggle.poll('INVOKE_SCREEN')

9 years agoFix #24531: UV editor: setting rotating/scaling pivot with [ , ] [ . ] not working.
Brecht Van Lommel [Thu, 4 Nov 2010 11:45:30 +0000 (11:45 +0000)]
Fix #24531: UV editor: setting rotating/scaling pivot with [ , ] [ . ] not working.
Patch by M.G. Kishalmi, thanks!

9 years agoFix #24523: deep shadows are rendered although object's shadow casting is disabled.
Brecht Van Lommel [Thu, 4 Nov 2010 11:41:05 +0000 (11:41 +0000)]
Fix #24523: deep shadows are rendered although object's shadow casting is disabled.

9 years agoworkaround/fix [#24451] Motion path not automatic recalculating + locking obj moving
Campbell Barton [Wed, 3 Nov 2010 23:49:56 +0000 (23:49 +0000)]
workaround/fix [#24451] Motion path not automatic recalculating + locking obj moving

Comment from source...
/* re-calculating the frame positions means we loose our original transform if its not auto-keyed [#24451]
 * this hack re-applies it, which is annoying, only alternatives are...
 * - dont recalc paths.
 * - have an object_handle_update() which gives is the new transform without touching the objects.
 * - only recalc paths on auto-keying.
 * - ED_objects_recalculate_paths could backup/restore transforms.
 * - re-apply the transform which is simplest in this case. (2 lines below)
 */

Martin, if you think this workaround is unacceptable, then automatic recalculating of paths after transform should probably be disabled since it looses data on non transform un-keyed values.

9 years agobugfix [#24518] Blender wont compile with -Wall -Werror and COLLADA support
Campbell Barton [Wed, 3 Nov 2010 22:44:39 +0000 (22:44 +0000)]
bugfix [#24518] Blender wont compile with -Wall -Werror and COLLADA support
fix included in report from Martijn Berger (mberger)
made some small changes.

- use ints rather then unsigned long for printing, values are not likely to be very large.
- CMake remove strict flags from collada build dir since I had warnings in the collada headers.
- added xml2 to collada libraries else I couldnt get collada building.

9 years agofix for #24428, commit r32757 broke menu bar display for some users [#24454] (but...
Campbell Barton [Wed, 3 Nov 2010 22:11:17 +0000 (22:11 +0000)]
fix for #24428, commit r32757 broke menu bar display for some users [#24454] (but not me for some reason).
For now revert most of r32757.

9 years agoworkaround [#24392] 2d Image paint editor: no clone/smear/soften tools etc
Campbell Barton [Wed, 3 Nov 2010 21:23:02 +0000 (21:23 +0000)]
workaround [#24392] 2d Image paint editor: no clone/smear/soften tools etc
the brush system matches the brush mode with the object mode, but this doesn't work for 2D image view paint.
since the poll() function doesnt have access to the context, for now just check if no paint modes are active, default to texture paint.

9 years agoFix for [#21958] Dupli group doesn't show up if linked on a layer that is different...
Janne Karhu [Wed, 3 Nov 2010 16:51:25 +0000 (16:51 +0000)]
Fix for [#21958] Dupli group doesn't show up if linked on a layer that is different from the group layer
* Object layer flag was set too soon for group duplication.

9 years agoA few texture node properties still had old rna names in draw code.
Janne Karhu [Wed, 3 Nov 2010 15:30:24 +0000 (15:30 +0000)]
A few texture node properties still had old rna names in draw code.

9 years ago[#23095] If no camera is present, a render starts but does nothing, and we have no...
Sergey Sharybin [Wed, 3 Nov 2010 13:10:09 +0000 (13:10 +0000)]
[#23095] If no camera is present, a render starts but does nothing, and we have no "No camera" warning

Improve camera checking and move it before starting render jobs

9 years agobugfix [#24508] Render and changing scenes crashes.
Campbell Barton [Wed, 3 Nov 2010 11:14:02 +0000 (11:14 +0000)]
bugfix [#24508] Render and changing scenes crashes.
The scenes 'Render' is kept by blender while blender runs but the callbacks were not cleared when the render was done.
In this case the callback would reference a freed render job.

This isn't normally a problem because on re-rendering new callbacks are set, however the sequencer can render a previously rendered scene without setting up callbacks.
Simple fix is to to dummy callbacks applied onto the scenes 'Render' struct once its finished.

9 years agobugfix [#24445] NLA reverse option flickers
Campbell Barton [Wed, 3 Nov 2010 08:46:14 +0000 (08:46 +0000)]
bugfix [#24445] NLA reverse option flickers
UnMapping the reversed NLA strips timing was incorrect.

9 years agouse c90 compatible static initializers.
Campbell Barton [Wed, 3 Nov 2010 06:31:53 +0000 (06:31 +0000)]
use c90 compatible static initializers.

9 years agobugfix [#24505] Python command bpy.ops.transform.rotate(...) does not follow axis...
Campbell Barton [Wed, 3 Nov 2010 04:38:07 +0000 (04:38 +0000)]
bugfix [#24505] Python command bpy.ops.transform.rotate(...) does not follow axis=(...) attribute
the axis was being constantly re-initialized from the view.

9 years agobugfix [#24483] Link/Append File Browser Typo
Campbell Barton [Wed, 3 Nov 2010 03:45:09 +0000 (03:45 +0000)]
bugfix [#24483] Link/Append File Browser Typo

9 years agopaint/face mask lasso select was checking for uv coords, which isnt needed, also...
Campbell Barton [Wed, 3 Nov 2010 02:50:05 +0000 (02:50 +0000)]
paint/face mask lasso select was checking for uv coords, which isnt needed, also make a mistake on this check last commit.

9 years agoadded metaball lasso select.
Campbell Barton [Wed, 3 Nov 2010 02:28:11 +0000 (02:28 +0000)]
added metaball lasso select.

9 years agofix [#24499] Consistency Issue with LassoSelect/ExtendOption
Campbell Barton [Wed, 3 Nov 2010 01:56:02 +0000 (01:56 +0000)]
fix [#24499] Consistency Issue with LassoSelect/ExtendOption
Added extend option to lasso.

also...
- selecting bones wasn't checking their layer of if they were hidden in a number of places.
- fixed memory leak.

small unrealed changes
- added PBONE_VISIBLE macro
- renamed functions used for paint selectoin from *_tface to paintface_*. sine they no longer have anything todo with tface's.
- removed scanfill include from BLI_blenlib.h, this is only used in very few places and quite specific.

Noticed lasso select is broken for metaballs and face mask mode but this has been the case for a while, will look into it next.

9 years agobugfix [#24392] 2d Image paint editor: no clone/smear/soften tools etc
Campbell Barton [Tue, 2 Nov 2010 22:04:41 +0000 (22:04 +0000)]
bugfix [#24392] 2d Image paint editor: no clone/smear/soften tools etc

9 years ago- remove BLANK* from rna icon enum, would string search this list for every python...
Campbell Barton [Tue, 2 Nov 2010 21:43:47 +0000 (21:43 +0000)]
- remove BLANK* from rna icon enum, would string search this list for every python icon button call, enum from 818 down to 444.
- remove unused space image members

9 years agoOops, particle collisions didn't take simulation subframes into account at all.
Janne Karhu [Tue, 2 Nov 2010 21:16:41 +0000 (21:16 +0000)]
Oops, particle collisions didn't take simulation subframes into account at all.
* This caused nearly all particles to leak through the collision surface if simulation subframes were used and the collision object was moving.
* In addition to fixing this I also did some more cleanup of the collision code and refined some of the comments.

9 years agoFix for [#24501] Apeend object with cloth sim from another file crash.
Janne Karhu [Tue, 2 Nov 2010 15:21:43 +0000 (15:21 +0000)]
Fix for [#24501] Apeend object with cloth sim from another file crash.

9 years agofix for compiling with the c90 standard, support for non-static variable initializers...
Campbell Barton [Tue, 2 Nov 2010 13:12:30 +0000 (13:12 +0000)]
fix for compiling with the c90 standard, support for non-static variable initializers is a c99 feature.

9 years agoFix #24436: GLSL + Node material gives wrong color.
Brecht Van Lommel [Tue, 2 Nov 2010 12:18:49 +0000 (12:18 +0000)]
Fix #24436: GLSL + Node material gives wrong color.

9 years agoFix #24435: GLSL 3D view lacks refresh on node setups, patch by Lukas Toenne.
Brecht Van Lommel [Tue, 2 Nov 2010 11:41:25 +0000 (11:41 +0000)]
Fix #24435: GLSL 3D view lacks refresh on node setups, patch by Lukas Toenne.