9 years agoAssorted animsys fixes/tweaks:
Joshua Leung [Thu, 1 Apr 2010 06:26:41 +0000 (06:26 +0000)]
Assorted animsys fixes/tweaks:

* Fixed all the dangerous code added in 27907. Using the code there, scripters could corrupt animation files in ways which would render them useless, with channels not appearing in any animation editors, and others not getting evaluated at all.

* Partial fix of bug 21818, by disabling destructive replacement of keyframes. Will followup this commit with a more comprehensive commit which gets rid of the rest of the problems, by incorporating some requests from Durian team.

* Fixed problems with users being able to see+edit the name of the active Keying Set in the Scene buttons. There is still a bug though with the list widget given how the indices are now interpreted...

9 years agoFix [#21298] Colour Management: Convert To Float & Use Colour Balance Linearising...
Matt Ebb [Thu, 1 Apr 2010 03:58:20 +0000 (03:58 +0000)]
Fix [#21298] Colour Management: Convert To Float & Use Colour Balance Linearising VSE Strip

Removed all colour management from sequencer, need better design/plan for this.

9 years agoFix [#20711] Loop selection not working with Emulate MMB + Left mouse select
Matt Ebb [Thu, 1 Apr 2010 02:28:08 +0000 (02:28 +0000)]
Fix [#20711] Loop selection not working with Emulate MMB + Left mouse select

Emulate 3 button mouse is now disabled when Left mouse select is used, to
prevent keymap conflicts. Configs for single button macs etc we can do with
keymap presets.

9 years agoFix [#21775] Double-clicking icons in the file browser doesn't open files
Matt Ebb [Thu, 1 Apr 2010 01:27:22 +0000 (01:27 +0000)]
Fix [#21775] Double-clicking icons in the file browser doesn't open files

Complicated issue, but this should be correct, and testing goes fine. fingers crossed.

9 years agoBGE fix: Parenting the object to itself crashes BGE + stubs update
Dalai Felinto [Wed, 31 Mar 2010 22:49:59 +0000 (22:49 +0000)]
BGE fix: Parenting the object to itself crashes BGE + stubs update
it may happen if you start doing exec, setParent, ... in Python
not a big deal, but to crash Blender is always bad

9 years agosvn merge -r27895:27901...
Campbell Barton [Wed, 31 Mar 2010 20:39:08 +0000 (20:39 +0000)]
svn merge -r27895:27901; svn merge -r27902:27907, skipping 27902

9 years agocleanup
Andrea Weikert [Wed, 31 Mar 2010 18:02:56 +0000 (18:02 +0000)]
* removed code that could lead to Blender writing in the Windows directory - is very old cruft and doesn't work on recent versions of Windows anymore and rightly so :)

9 years agoMSVC 9 projectfiles
Andrea Weikert [Wed, 31 Mar 2010 17:46:17 +0000 (17:46 +0000)]
MSVC 9 projectfiles
* maintenance - removed BLI_dynamiclist.c

10 years agoMerge -c 27903 from COLLADA branch into trunk.
Arystanbek Dyussenov [Wed, 31 Mar 2010 15:04:46 +0000 (15:04 +0000)]
Merge -c 27903 from COLLADA branch into trunk.

10 years ago[#21762] BLI_dynamiclist is never used
Campbell Barton [Wed, 31 Mar 2010 12:35:05 +0000 (12:35 +0000)]
[#21762] BLI_dynamiclist is never used

 data structure has some advantages but isnt used. removing for now.

10 years ago[#21851] Bugfix: [#21254] text editor jump to line crash
Campbell Barton [Wed, 31 Mar 2010 08:33:43 +0000 (08:33 +0000)]
[#21851] Bugfix: [#21254] text editor jump to line crash
 by Ignacio Fern├índez (hellmoon666)

10 years agosvn merge -r27867:27871
Campbell Barton [Wed, 31 Mar 2010 07:28:23 +0000 (07:28 +0000)]
svn merge -r27867:27871

10 years agosvn merge -r27875:27895
Campbell Barton [Wed, 31 Mar 2010 07:22:18 +0000 (07:22 +0000)]
svn merge -r27875:27895

10 years agoOnly add drivers (and keying sets, keyframes etc) when exact key combo is
Matt Ebb [Wed, 31 Mar 2010 07:03:13 +0000 (07:03 +0000)]
Only add drivers (and keying sets, keyframes etc) when exact key combo is
pressed. This prevent adding drivers to properties when mouse is over a node,
trying to duplicate it with Shift D.

10 years agotaper/bevel object checking moved from RNA update to RNA pointer set function.
Sergey Sharybin [Wed, 31 Mar 2010 07:02:24 +0000 (07:02 +0000)]
taper/bevel object checking moved from RNA update to RNA pointer set function.

10 years agoFix [#21826] Memory Map growing in size on each render
Matt Ebb [Wed, 31 Mar 2010 07:00:59 +0000 (07:00 +0000)]
Fix [#21826] Memory Map growing in size on each render

Image node wasn't properly getting marked to free compbuf data when using premul.

10 years agoFix [#21727] texture in compositor quickly results in crash
Matt Ebb [Wed, 31 Mar 2010 05:44:21 +0000 (05:44 +0000)]
Fix [#21727] texture in compositor quickly results in crash

Hopefully this is correct - looks like the CompBuf->node pointer was getting left
out of the per-thread copying/localisation.

10 years agoFix:
Matt Ebb [Wed, 31 Mar 2010 02:21:32 +0000 (02:21 +0000)]
[#21841] SplitViewer doesn't backdrop in Node Editor
[#21803] Cant See Split Viewer on UV editor

10 years agoFix [#21832] Add Modifier, Pinned Context
Matt Ebb [Wed, 31 Mar 2010 00:55:01 +0000 (00:55 +0000)]
Fix [#21832] Add Modifier, Pinned Context

Added convenience function ED_object_active_context(C) to get either the
object in the data context, or if not, the active object.

10 years agoPatch from Xavier Thomas:
Matt Ebb [Tue, 30 Mar 2010 23:32:16 +0000 (23:32 +0000)]
Patch from Xavier Thomas:

YCbCr conversion function according to ITU-R BT.601/709 and JFIF

Clarifies color space usage in rgb->ycc conversion, doesn't change existing results.

10 years agobugfix [#21743] Incorrect Rim Normals with Screw mod and Solidify Mod on a Curve...
Campbell Barton [Tue, 30 Mar 2010 23:16:42 +0000 (23:16 +0000)]
bugfix [#21743] Incorrect Rim Normals with Screw mod and Solidify Mod on a Curve Object

10 years agotrick to give correct normals for cyclic curves used with the screw modifier.
Campbell Barton [Tue, 30 Mar 2010 22:43:43 +0000 (22:43 +0000)]
trick to give correct normals for cyclic curves used with the screw modifier.

10 years agobge bplayer stub update.
Dalai Felinto [Tue, 30 Mar 2010 21:39:05 +0000 (21:39 +0000)]
bge bplayer stub update.
For the record Blenderplayer looks working pretty well now. If you have problems loading textures make sure you rebuild your makesdna project (or try to find the non-existent bug for a few hours).

10 years agoMerge -c 27876 from COLLADA branch into trunk.
Arystanbek Dyussenov [Tue, 30 Mar 2010 18:21:47 +0000 (18:21 +0000)]
Merge -c 27876 from COLLADA branch into trunk.

10 years ago- Call DAG_id_flush_update for each object in convert operator if keep_original
Sergey Sharybin [Tue, 30 Mar 2010 18:10:05 +0000 (18:10 +0000)]
- Call DAG_id_flush_update for each object in convert operator if keep_original
  option is switched off. This fixes trouble when user converts curve which is
  set as taper/bevel object to mesh (scene kept unchanged until object
- Moved checking of taper/bevel objects type to RNA property update handlers.
- Added resetting taper/bevel object in do_makeDispListCurveTypes it this
  objects aren't curves.

10 years agoFixed segmentation fault when non-curve object is setting as a taper
Sergey Sharybin [Tue, 30 Mar 2010 14:33:05 +0000 (14:33 +0000)]
Fixed segmentation fault when non-curve object is setting as a taper

Deny user to select non-curve objects for taper and bevel lists, also
added some checking into displist and curve modules - object could be
converted from curve to mesh (would be better to unset bevel/taper
object in this case -- will try to implement a bit later).

10 years agoAttempted fixes for color picker trouble (can't reproduce here..)
Matt Ebb [Tue, 30 Mar 2010 12:43:39 +0000 (12:43 +0000)]
Attempted fixes for color picker trouble (can't reproduce here..)

10 years agoBaking for dupligroup & linked library objects
Brecht Van Lommel [Tue, 30 Mar 2010 12:23:13 +0000 (12:23 +0000)]
Baking for dupligroup & linked library objects
- library data allows pointcache writing (hard to know how this should work long term so ifdef'd for now)
- changing the frame now updates the dupligroup objects
- BKE_ptcache_ids_from_object(), option to get the id's from duplis

note! scene_update_tagged() is called from the main() loop, and runs BKE_ptcache_quick_cache_all(), this could become a performance issue, especially with duplis, should probably not call BKE_ptcache_quick_cache_all() all the time, even when not playing back animation.
(commits 27856 by Campbell from render25 branch)

10 years ago* Multiply for panorama cameras
Brecht Van Lommel [Tue, 30 Mar 2010 12:15:16 +0000 (12:15 +0000)]
* Multiply for panorama cameras
* Some cases of struct name being set where it shouldnt have been.
* Spelling: wich --> which
* Copy and initialize uv modifier scale, remove unneeded enum.
* Ability to pin any object into the context.
* Update uv window while transforming (useful when used with UVProject modifier)
* Patch by Wahooney, so new template's are internal text and dont get saved over
  by mistake.
* Fix for
  Bug 572186 - [abrt] crash in blender-2.49b-5.fc12: Process
  /usr/bin/blender.bin was killed by signal 6 (SIGABRT). Original fix submitted
  by Jochen Schmitt.
* [#21816] has stopped working on Windows. moved to, missed this call.

(commits 27726,27825,27828,27831,27832,27833,27834,27836,27837,27838,27839,27858 by Campbell from render25 branch)

10 years ago* Assign weight from bones in weight paint mode now respects paint face
Brecht Van Lommel [Tue, 30 Mar 2010 12:01:17 +0000 (12:01 +0000)]
* Assign weight from bones in weight paint mode now respects paint face
  mask, also avoid making vertex groups if they will not be filled.
* Add back image pin option in image editor header.
* Fix deep shadow not respecting Cast Buffer Shadows option.
* Tangent space normal map baking should work again now.
* Fix a problem with particle duplis, due to own bugfix for #20350,
  the problem for that seems to be in dupliverts, not particles.
* Fix external multires data link getting lost on exiting editmode.

(commits 27776,27777,27830,27840,27841,27862 by Brecht from render25 branch)

10 years agoRest shape key for cloth option, this makes it possible
Brecht Van Lommel [Tue, 30 Mar 2010 11:49:07 +0000 (11:49 +0000)]
Rest shape key for cloth option, this makes it possible
to specify different spring lengths.

Implementation is quite ugly because the shape key has to be pulled
through the modifier stack somehow, need a more flexible data mask
system to solve this properly.

(commits 27773,27775,27778 by Brecht from render25 branch)

10 years agoFix a few warning in editors/ module.
Brecht Van Lommel [Tue, 30 Mar 2010 11:38:06 +0000 (11:38 +0000)]
Fix a few warning in editors/ module.

10 years agoBugfix for [#21582] Adjusting material color (color picker) crashes
Elia Sarti [Tue, 30 Mar 2010 10:13:55 +0000 (10:13 +0000)]
Bugfix for [#21582] Adjusting material color (color picker) crashes

This fixes only the crash, which was due to buffer overrun for col Hex char buffer. It doesn't actually fix the real issue of overflowing the color values up to infinity.

10 years agoFix #21827: Outer portions of extruded 2D curves do not render correctly
Sergey Sharybin [Tue, 30 Mar 2010 09:57:58 +0000 (09:57 +0000)]
Fix #21827: Outer portions of extruded 2D curves do not render correctly

DispList->rt is used by render stuff to set vlak flags. This rt field is setting
to nurbs's flags in displist creation function. Possible flags for nurbs are
CU_SMOOTH and CU_2D. CU_SMOOTH is ok, but CU_2D conflicts with R_NOPUNOFLIP.

I cleared rt's CU_2D flag. Don't forget about possible conflicts if new
nurbs flags will be added.

10 years agoPerformance tweak - on region pan/scale, only redraw the region itself
Matt Ebb [Tue, 30 Mar 2010 07:57:07 +0000 (07:57 +0000)]
Performance tweak - on region pan/scale, only redraw the region itself
instead of the entire area (eg. so panning tool shelf doesn't lag when 3d view
redrawing is slow).

10 years agoBGE API DOC: a guide on how to build epydoc for windows
Dalai Felinto [Tue, 30 Mar 2010 06:37:44 +0000 (06:37 +0000)]
BGE API DOC: a guide on how to build epydoc for windows
We have already a .sh file to build epydocs from Linux, so why not to have it in Windows as well ;) I think that this guide can help people interested in help with the API documentation to test their work.

I'm actually already in touch with at least one volunteer helping with PhysicsConstraints module. VideoTexture may not be a one man job though, for I hope this document can also help.

10 years agoFix [#21711] Position of 2d cursor is not displayed correctly and cannot be set
Matt Ebb [Tue, 30 Mar 2010 05:52:05 +0000 (05:52 +0000)]
Fix [#21711] Position of 2d cursor is not displayed correctly and cannot be set
in uv/image editor properties panel

Note: Moved UV editor 2d cursor to SpaceImage rather than View2d, so it's
more accessible to RNA.

10 years agoBGE PyDoc: fix for KX_Object not linked to the class in some actuators API page
Dalai Felinto [Tue, 30 Mar 2010 04:59:24 +0000 (04:59 +0000)]
BGE PyDoc: fix for KX_Object not linked to the class in some actuators API page

10 years agoFix [#20115] Some theme settings are not saved
Matt Ebb [Tue, 30 Mar 2010 04:27:13 +0000 (04:27 +0000)]
Fix [#20115] Some theme settings are not saved

Theme colours were getting overwritten on startup with defaults (as in 2.4
system). Changed this to allow changing the default theme, and added a
'Reset to defaults' operator in user prefs. Perhaps next step to look into the
py presets system for themes too (nice and easy to share).

If you're using a custom B.blend you may get some strange theme colours on
startup if they weren't saved properly before. 'Reset to default' button in theme
preferences should fix it back to defaults.

10 years agoFix [#21814] 3D Curves and Caps Confusion
Matt Ebb [Tue, 30 Mar 2010 00:57:54 +0000 (00:57 +0000)]
Fix [#21814] 3D Curves and Caps Confusion

Stopped curves 'caps' properties from being greyed out when the curve is 3D -
there's the totally obscure feature where turning off 'Front' and 'Back' turns the
3D curve into a tube.

Would really like this feature to be implemented in a less bizarre way, but
for now it should be enabled in the UI at least.

10 years agoMirror clipping for curves and surfaces.
Sergey Sharybin [Mon, 29 Mar 2010 09:29:50 +0000 (09:29 +0000)]
Mirror clipping for curves and surfaces.

10 years agoFix [#21083] Collada exporter defaults to ".blend" extension...
Matt Ebb [Mon, 29 Mar 2010 08:33:35 +0000 (08:33 +0000)]
Fix [#21083] Collada exporter defaults to ".blend" extension...

Also added a filter category for COLLADA files to the file selector.

10 years agoAdded splash screen item in the Help menu. Not sure why it wasn't there in the first...
Elia Sarti [Mon, 29 Mar 2010 08:27:04 +0000 (08:27 +0000)]
Added splash screen item in the Help menu. Not sure why it wasn't there in the first place? It's used to get the revision number and if the intention was to add a more adequate "About" window it can be replaced later.

10 years agoTweak to set default ui range for color/color_gamma properties
Matt Ebb [Mon, 29 Mar 2010 07:15:51 +0000 (07:15 +0000)]
Tweak to set default ui range for color/color_gamma properties

10 years agoFix [#21706] edit field in nodegroup which overlaps a node, edits the field of the...
Matt Ebb [Mon, 29 Mar 2010 07:15:12 +0000 (07:15 +0000)]
Fix [#21706] edit field in nodegroup which overlaps a node, edits the field of the overlapped node

10 years agoFix [#21542] Clear origin shortkey Alt+O in object mode doesn't work
Matt Ebb [Mon, 29 Mar 2010 07:07:20 +0000 (07:07 +0000)]
Fix [#21542] Clear origin shortkey Alt+O in object mode doesn't work

10 years agoFix [#21708] Copy/Paste Texture channels for Lamps/World not working
Matt Ebb [Mon, 29 Mar 2010 05:37:34 +0000 (05:37 +0000)]
Fix [#21708] Copy/Paste Texture channels for Lamps/World not working

10 years agoFix [#21679] add_grid "operator's subdivison" Change Dimensions
Matt Ebb [Mon, 29 Mar 2010 05:00:04 +0000 (05:00 +0000)]
Fix [#21679] add_grid "operator's subdivison" Change Dimensions

10 years ago* Update histogram on frame change and image swap
Matt Ebb [Sun, 28 Mar 2010 23:30:00 +0000 (23:30 +0000)]
* Update histogram on frame change and image swap

10 years agoCMake fix for GCC 4.4.1 crash (on ubuntu 9.10 ) reported (on IRC) and fixed by Elia...
Dalai Felinto [Sun, 28 Mar 2010 21:38:22 +0000 (21:38 +0000)]
CMake fix for GCC 4.4.1 crash (on ubuntu 9.10 ) reported (on IRC) and fixed by Elia Sarti (vekoon)
(it was broken since rev. 27257.)

10 years ago[#21807] Import Key Configuration problems
Martin Poirier [Sun, 28 Mar 2010 21:10:48 +0000 (21:10 +0000)]
[#21807] Import Key Configuration problems

For some reason, __import__ doesn't recognize the cfg folder as part of the part.

Using exec("import " ... fixes that, but should be investigated further.

10 years agoBGE patch [#21019]: Python function for Scene suspend/resume.
Benoit Bolsee [Sun, 28 Mar 2010 20:50:20 +0000 (20:50 +0000)]
BGE patch [#21019]: Python function for Scene suspend/resume.

10 years agoNetrender: Fix for API changes (it would be nice if people at least fixed built-in...
Martin Poirier [Sun, 28 Mar 2010 20:46:25 +0000 (20:46 +0000)]
Netrender: Fix for API changes (it would be nice if people at least fixed built-in script when breaking things)

Also force post process off.

This is a partial fix for Bug [#21410], there is still the problem that loading back multilayer exr as render results doesn't load the composited result correctly (bug is assigned to Brecht). The results are still ok when downloaded outside of the render engine, so there's a work around for now.

10 years agoVideoTexture: more PyDoc.
Benoit Bolsee [Sun, 28 Mar 2010 20:15:45 +0000 (20:15 +0000)]
VideoTexture: more PyDoc.

10 years agoVideoTexture: clean previous commit.
Benoit Bolsee [Sun, 28 Mar 2010 20:12:28 +0000 (20:12 +0000)]
VideoTexture: clean previous commit.

10 years agoBGE: repair armature animation. Was broken since commit 27766.
Benoit Bolsee [Sun, 28 Mar 2010 20:08:16 +0000 (20:08 +0000)]
BGE: repair armature animation. Was broken since commit 27766.

10 years agoFix [#21689] for coordinate issue (y flipped) when setting mouse cursor position
Damien Plisson [Sun, 28 Mar 2010 19:42:08 +0000 (19:42 +0000)]
Fix [#21689] for coordinate issue (y flipped) when setting mouse cursor position

Mem leak when using BGE fixed too.

10 years ago[#21802] UVProject Modifier Crash
Campbell Barton [Sun, 28 Mar 2010 18:41:49 +0000 (18:41 +0000)]
[#21802] UVProject Modifier Crash
fix for bug in recent addition of panorama support

10 years agoVideoTexture: fix video capture lagging when CPU is busy. This problem was caused...
Benoit Bolsee [Sun, 28 Mar 2010 17:50:45 +0000 (17:50 +0000)]
VideoTexture: fix video capture lagging when CPU is busy. This problem was caused by special frame handling that was appropriate for video streaming but not for video capture: drift compensation and no frame skipping.  Disable that for video capture to take into account the realtime nature of video.

10 years agoChange \n to more strict \r\n in HTTP headers (plus misc cleanups).
Guillermo S. Romero [Sun, 28 Mar 2010 17:01:46 +0000 (17:01 +0000)]
Change \n to more strict \r\n in HTTP headers (plus misc cleanups).
Reported by Ralph Giles via bug 21797.

10 years agoCompile fix for scons:
Thomas Dinges [Sun, 28 Mar 2010 15:00:43 +0000 (15:00 +0000)]
Compile fix for scons:
Missing pthread include for recent image_draw.c commit. (27799)

10 years agoExternal render engines now have option bl_postprocess to determine
Brecht Van Lommel [Sun, 28 Mar 2010 14:45:09 +0000 (14:45 +0000)]
External render engines now have option bl_postprocess to determine
if compositing, sequencer, fields, etc should be rendered, or if the
render does that itself. The weak point is that this only applies to
rendering, so if you open the compositor, it will still run on the
rendered result. Enabled by default, set to False to disable.

10 years ago[#21767] Project Vert. on the Surf. of Other Obj. enabled causes crash when trying...
Martin Poirier [Sun, 28 Mar 2010 13:59:33 +0000 (13:59 +0000)]
[#21767] Project Vert. on the Surf. of Other Obj. enabled causes crash when trying to Crease some edges

Don't want to project for Crease (and others).

10 years agoExternal render engines can now render previews as well, disabled by
Brecht Van Lommel [Sun, 28 Mar 2010 13:48:11 +0000 (13:48 +0000)]
External render engines can now render previews as well, disabled by
default, set RenderEngine property bl_preview = True to enable it.

10 years agoAttempt to fix #21796: render crash on windows after slots commit.
Brecht Van Lommel [Sun, 28 Mar 2010 13:45:19 +0000 (13:45 +0000)]
Attempt to fix #21796: render crash on windows after slots commit.

10 years agoBugfix for [#21798] Submit description doesn't work.
Thomas Dinges [Sun, 28 Mar 2010 10:52:24 +0000 (10:52 +0000)]
Bugfix for [#21798] Submit description doesn't work.

10 years agobgl/BGE: glCopyTexImage2D + bgl.buffer creation error more verbose + dome post_draw...
Dalai Felinto [Sun, 28 Mar 2010 10:20:26 +0000 (10:20 +0000)]
bgl/BGE: glCopyTexImage2D + bgl.buffer creation error more verbose + dome post_draw (it draw only for the last overlayed scene)

1) glCopyTexImage2D -

2) dome post_draw. Now dome mode can also use scene.post_draw. It only runs for the last scene. It's really useful. I'm working on a nice showcase for this (a dome visualizer for the dome mode running with bgl. In the mean time this is a (lame) example of both working together (the buffer is being copied and draw on top of the window):

10 years agoFix for a possible deadlock with render result drawing.
Brecht Van Lommel [Sat, 27 Mar 2010 22:48:18 +0000 (22:48 +0000)]
Fix for a possible deadlock with render result drawing.

10 years agofix for writing out of buffer bounds when drawing to a buffer (most obvious with...
Campbell Barton [Sat, 27 Mar 2010 22:23:23 +0000 (22:23 +0000)]
fix for writing out of buffer bounds when drawing to a buffer (most obvious with new grid type but could probably crash with stamp render option too)

10 years agofix bad level call so blendplayer builds
Tom Musgrove [Sat, 27 Mar 2010 18:08:57 +0000 (18:08 +0000)]
fix bad level call so blendplayer builds

10 years agoSecond attempt at committing the different render slot implementation. This
Brecht Van Lommel [Sat, 27 Mar 2010 15:35:34 +0000 (15:35 +0000)]
Second attempt at committing the different render slot implementation. This
has a fix that hopefully solves the problem on mac/win. Also fixes #21322,
render slots not working well with FSA.

10 years agoFix #21561: .ply exporter doesn't export normals.
Brecht Van Lommel [Sat, 27 Mar 2010 14:54:22 +0000 (14:54 +0000)]
Fix #21561: .ply exporter doesn't export normals.

10 years agoThe version in this file was not updated to alpha2, resulted in alpha1
Brecht Van Lommel [Sat, 27 Mar 2010 14:38:46 +0000 (14:38 +0000)]
The version in this file was not updated to alpha2, resulted in alpha1
still showing up in e.g. the Mac about dialog.

10 years agoFix #21543: running python script from command line would lose active
Brecht Van Lommel [Sat, 27 Mar 2010 12:42:01 +0000 (12:42 +0000)]
Fix #21543: running python script from command line would lose active
scene from context for background render. Ideally this should not be
using the context to get the scene but currently the active scene is
not stored anywhere, as it's a concept we tried to get rid of.. just
did a simple fix for now.

10 years agoFix #20717: sculpt not working with ortho view + certain object scale.
Brecht Van Lommel [Sat, 27 Mar 2010 12:35:14 +0000 (12:35 +0000)]
Fix #20717: sculpt not working with ortho view + certain object scale.

10 years agoFix #21700: particles do not collide with linked objects.
Brecht Van Lommel [Sat, 27 Mar 2010 12:16:24 +0000 (12:16 +0000)]
Fix #21700: particles do not collide with linked objects.

10 years agoFix [#21765] File-Dialog: "New Directory" gives no visual feedback
Andrea Weikert [Sat, 27 Mar 2010 12:14:51 +0000 (12:14 +0000)]
Fix [#21765] File-Dialog: "New Directory" gives no visual feedback
- was missing to clear the filelist which was previously done in the notifier (removed from there with the new thumbnail job handling).

10 years agoFix #21792: changed subdivide operator properties order to reflect
Brecht Van Lommel [Sat, 27 Mar 2010 11:59:42 +0000 (11:59 +0000)]
Fix #21792: changed subdivide operator properties order to reflect
the order in which smooth and fractal are applied.

10 years agoFix #21741: changing scenes didn't update layers in 3d view, patch by Elia Sarti.
Brecht Van Lommel [Sat, 27 Mar 2010 11:54:38 +0000 (11:54 +0000)]
Fix #21741: changing scenes didn't update layers in 3d view, patch by Elia Sarti.

10 years agoFix #20716: using wavefront .obj exporter multiple times could crash
Brecht Van Lommel [Sat, 27 Mar 2010 11:20:27 +0000 (11:20 +0000)]
Fix #20716: using wavefront .obj exporter multiple times could crash
because references to materials from previous exports were not cleared.

10 years agoMSVC 9 projectfiles
Andrea Weikert [Sat, 27 Mar 2010 10:48:49 +0000 (10:48 +0000)]
MSVC 9 projectfiles
Updated RNA project to generate the files in the build directory rather than inside the source tree. This removes the need to manually deleting those files when building from the same tree with scons or cmake.

10 years agoFix #21667: smoke drawing crashes calling glTexImage3D on graphics card that do
Brecht Van Lommel [Sat, 27 Mar 2010 10:48:01 +0000 (10:48 +0000)]
Fix #21667: smoke drawing crashes calling glTexImage3D on graphics card that do
not support it.

10 years agoCheck result of object_add_duplicate_internal() before using it.
Sergey Sharybin [Sat, 27 Mar 2010 10:43:04 +0000 (10:43 +0000)]
Check result of object_add_duplicate_internal() before using it.

This prevents segmentation fault when object in pose mode is duplicating.

10 years agoFix for [#21773] Cast Modifier cant use empties as centers
Elia Sarti [Fri, 26 Mar 2010 18:15:06 +0000 (18:15 +0000)]
Fix for [#21773] Cast Modifier cant use empties as centers

Based on the assumption that requiring object targets to be OB_EMPTY makes any other object compatible as a target. If the assumption is wrong can be reverted. Only the Cast modifier uses this at the moment and to me it looks like Cast only uses object transform so should be fine.

10 years agoFixed incorrect rendering result when bevel object has got modifiers
Sergey Sharybin [Fri, 26 Mar 2010 15:06:30 +0000 (15:06 +0000)]
Fixed incorrect rendering result when bevel object has got modifiers
enabled only for realtime display or only for rendering

10 years agoButtons Window Notifier Listener:
Thomas Dinges [Fri, 26 Mar 2010 14:16:35 +0000 (14:16 +0000)]
Buttons Window Notifier Listener:

* Update several Property Windows for Physic Modifiers in the Physic Tab.
* Update several Property Windows for ND_DRAW Notifier, used by Camera Data, Object Force, and general Object settings.

10 years ago* Single Column UI for Screw Modifier.
Thomas Dinges [Fri, 26 Mar 2010 13:47:16 +0000 (13:47 +0000)]
* Single Column UI for Screw Modifier.

10 years ago- game engine checking for autoexec was using the wrong global flag.
Campbell Barton [Fri, 26 Mar 2010 11:35:57 +0000 (11:35 +0000)]
- game engine checking for autoexec was using the wrong global flag.
- 'Trusted Source' option was being overwritten on read making it usless.

10 years agoFix vertex paint not getting restored after exiting editmode,
Brecht Van Lommel [Fri, 26 Mar 2010 11:05:22 +0000 (11:05 +0000)]
Fix vertex paint not getting restored after exiting editmode,
and fix the opposite problem when going to object mode from the menu.
(commit 27747 by Brecht from render25 branch)

10 years agoCloth simulation can now use a group to specify which objects
Brecht Van Lommel [Fri, 26 Mar 2010 10:52:55 +0000 (10:52 +0000)]
Cloth simulation can now use a group to specify which objects
to collide with, in addition to the effectors group.
(commit 27746 by Brecht from render25 branch)

10 years agofix rendering another scene from the compositor not working.
Brecht Van Lommel [Fri, 26 Mar 2010 10:41:48 +0000 (10:41 +0000)]
fix rendering another scene from the compositor not working.
(commit 27745 by Brecht from render25 branch)

10 years agoOptimization for pose channel name lookups using a hash, makes
Brecht Van Lommel [Fri, 26 Mar 2010 10:33:53 +0000 (10:33 +0000)]
Optimization for pose channel name lookups using a hash, makes
playback in one particular scene with 3 characters go from 10 to 13 fps.
(commit 27728 by Brecht from render25 branch)

10 years agoFix [#21759] Toggle all layers doesn't work
Matt Ebb [Fri, 26 Mar 2010 08:32:54 +0000 (08:32 +0000)]
Fix [#21759] Toggle all layers doesn't work

Toggling all layers will revert back to the active layer.

10 years agoBGE: fix for [#21180] - missing min and max values in the API + mode fix (interval...
Dalai Felinto [Fri, 26 Mar 2010 07:21:48 +0000 (07:21 +0000)]
BGE: fix for [#21180] - missing min and max values in the API + mode fix (interval wasn't working)
of course it wasn't only a matter of adding the properties in the api :)

The code of validValueForIntervalProperty and modeChange are the same BUT in the future they shouldn't be, for I think it's fine to keep them as separated functions.

Bonus fix: Also we are now checking if the new mode is interval and update the range expression.

10 years agoFix [#20829] "Select Vertex Path" EDGE LENGTH not selecting the proper
Matt Ebb [Fri, 26 Mar 2010 07:17:54 +0000 (07:17 +0000)]
Fix [#20829] "Select Vertex Path" EDGE LENGTH not selecting the proper
vertices (as it did in 2.49b)

Removed popup and fixed code to actually use the operator properties.

10 years agoFix [#21745] file that opens in 2.4* crashes 2.5 while trying to open
Matt Ebb [Fri, 26 Mar 2010 06:10:21 +0000 (06:10 +0000)]
Fix [#21745] file that opens in 2.4* crashes 2.5 while trying to open

Only convert old multires data to multires modifier if there are actually subdivisions stored.

Patch by Elia Sarti, thanks!

10 years agoFix [#21744] cannot open old file 1 1/2 year old with 2.49 and 2.5 v670
Matt Ebb [Fri, 26 Mar 2010 05:55:55 +0000 (05:55 +0000)]
Fix [#21744] cannot open old file 1 1/2 year old with 2.49 and 2.5 v670

Works around a bizarre situation when an object is it's own parent.
Patch by Elia Sarti, thanks!

10 years ago#21728: Grease pencil at cursor gives wrong results when the object is not at locatio...
Joshua Leung [Fri, 26 Mar 2010 03:26:17 +0000 (03:26 +0000)]
#21728: Grease pencil at cursor gives wrong results when the object is not at location 0,0,0.

Removed some code that I never finished working on to try and make the sketches get added relative to the owner. Perhaps will come back to that someday, but maybe we can just do without.

10 years agoPurging compiler warnings
Joshua Leung [Fri, 26 Mar 2010 03:10:58 +0000 (03:10 +0000)]
Purging compiler warnings

10 years ago4 Devs in Agreement - End of the Road for Old Track
Joshua Leung [Fri, 26 Mar 2010 02:57:49 +0000 (02:57 +0000)]
4 Devs in Agreement - End of the Road for Old Track

This commit removes the Old Track method (used to be found under Object -> Animation -> Track), with all existing instances of this being converted to Track To Constraints. In fact, while performing this removal, I found that this was supposed to have happened in version 2.27 already, but for some reason the options were left in, and this function managed to survive for a further decade.

I've left the tracking axes around still, since it seems some curve tools still use that. However, that usage should probably get faded out in future too?

Misc notes:
* Fixed compiling error with constaints from harkyman's Maintain Volume patch.
* Subversion of 2.52 now bumped up to .2