blender.git
9 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!

9 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!

9 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.

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

9 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

9 years agoFix for ben dansie, incorrect gamma with render baking.
Matt Ebb [Fri, 26 Mar 2010 01:31:43 +0000 (01:31 +0000)]
Fix for ben dansie, incorrect gamma with render baking.
Linear/gamma issues weren't really considered in baking yet.

9 years agoBugfix #21757: Crash when setting up cyclic tracking dependencies (with old tracking)
Joshua Leung [Fri, 26 Mar 2010 01:11:03 +0000 (01:11 +0000)]
Bugfix #21757: Crash when setting up cyclic tracking dependencies (with old tracking)

Note that users should not be doing this anyway (and to some degree, I wish that they have to learn this the hard way - i.e. a crash as was before) since it is always bound to cause troubles of various sorts.

Having said this, the old tracking code was previously crashing if this sort of setup was created since a stack overflow would happen while bouncing between each object being recursively recalculated. I've fixed this by commenting out that recursive recalculation (solving the cyclic problems for n >= 2, while n=1 should still be fine without this pre-depsgraph hack), and also removing such cyclic dependencies in the n=2 case.

(PS: Perhaps this is just a good opportunity to just remove this old feature instead ;)

9 years agoBugfix #21739: Extend in the NLA crashes (Ekey)
Joshua Leung [Fri, 26 Mar 2010 00:25:14 +0000 (00:25 +0000)]
Bugfix #21739: Extend in the NLA crashes (Ekey)

9 years agoBGE: [#19836] Recursive Parenting in game crashes Blender. Added parenting loop detec...
Benoit Bolsee [Thu, 25 Mar 2010 21:43:36 +0000 (21:43 +0000)]
BGE: [#19836] Recursive Parenting in game crashes Blender. Added parenting loop detection.

9 years agoFix #21764: bezier curve render resolution slider min value 1
Sergey Sharybin [Thu, 25 Mar 2010 18:59:50 +0000 (18:59 +0000)]
Fix #21764: bezier curve render resolution slider min value 1

Render resolution set to 0 is correct in both of U and V cases
(if render resolution is set to 0 values from resolution_* will
be used while rendering)

9 years agoFix #21761: Curve+"Fill deformed"+modifier ( not all)= not rendered
Sergey Sharybin [Thu, 25 Mar 2010 18:41:57 +0000 (18:41 +0000)]
Fix #21761: Curve+"Fill deformed"+modifier ( not all)= not rendered

Incorrect displist base was passed to curve_to_filledpoly().

9 years agofix for incorrect args, before pyapi fixes these were ignored.
Brecht Van Lommel [Thu, 25 Mar 2010 13:53:24 +0000 (13:53 +0000)]
fix for incorrect args, before pyapi fixes these were ignored.
(commit 27723 by Campbell from render25 branch)

9 years agoBugfix #21738: Flatten keys doesn't work
Joshua Leung [Thu, 25 Mar 2010 12:35:53 +0000 (12:35 +0000)]
Bugfix #21738: Flatten keys doesn't work

Flatten handles option was an ugly mix of snap to nearest integer values and set the handles to have the same values as the key. Removed the nearest integer snapping from this, since it doesn't seem that useful in retrospect. It could be restored later if there's any demand for it.

9 years agoAdding menu entries for the new hotkeys (change keying set)
Joshua Leung [Thu, 25 Mar 2010 11:42:02 +0000 (11:42 +0000)]
Adding menu entries for the new hotkeys (change keying set)

9 years agoMore assorted Keying Sets changes for Cessen (mainly api stuff):
Joshua Leung [Thu, 25 Mar 2010 11:34:18 +0000 (11:34 +0000)]
More assorted Keying Sets changes for Cessen (mainly api stuff):

* Added operator (Ctrl Shift Alt I) to show menu for changing the active Keying Set in the 3D view (todo item from last commit)

* KeyingSetInfo (i.e. the Builtin Keying Set classes) can now be accessed from Keying Set instances with  ks.type_info
* Added ks.remove_all_paths() function to remove all the paths for a Keying Set.

---

These two changes mean that builtin Keying Sets could be refreshed in response to context changes by doing:
<code>
ks = bpy.context.scene.active_keying_set
if ks.absolute==False and ks.type_info:
    ksi = ks.type_info

    # remove existing paths to fill with new
    ks.remove_all_paths()

    # check if Keying Set can be used in current context
    if ksi.poll(bpy.context):
        # call iterator() which calls generate() and re-populates paths list
        ksi.iterator(bpy.context, ks)
</code>

And then, once this has been done, the paths that the Keying Set will operate on can be accessed as
<code>
paths = bpy.context.scene.active_keying_set.paths
</code>

9 years agoRemove object type check in Cast Modifier deformation, was wrong now that Curves...
Elia Sarti [Thu, 25 Mar 2010 10:43:55 +0000 (10:43 +0000)]
Remove object type check in Cast Modifier deformation, was wrong now that Curves support modifiers.
Also fixes [#21742] Crashes when adding a Cast mod after a Screw mod on a Curve Object

9 years agoFix compilation error in MinGW with my last commit.
Benoit Bolsee [Thu, 25 Mar 2010 08:48:31 +0000 (08:48 +0000)]
Fix compilation error in MinGW with my last commit.

9 years agoRestored Fluid Sim baking
Matt Ebb [Thu, 25 Mar 2010 06:27:25 +0000 (06:27 +0000)]
Restored Fluid Sim baking

This commit restores fluid sim baking functionality in 2.5, it's been on the todo for
a while, and was previously almost completely non-functional. The old
code was quite complicated and specific to the 2.4 animation system, so I've
pretty much rewritten most of it.

This includes:
* Animated variables work again - just key them in the UI. Non-animateable values
should be already set non-animateable in RNA, hopefully I got them all.

Available are: Domain Gravity / Domain Viscosity / Object loc/rot/scale /
Object initial velocity / Deforming meshes / Fluid control Attract strength /
Fluid control Attract radius / Fluid control Velocity strength /
Fluid control Velocity radius / Object Active status (checkbox next to fluid type)

The Domain time scale is still not yet implemented.

* Fluid sim now use global scene units data by default - when enabled, the
scene's global gravity value is used and when units are set (metric/imperial)
the simulation real world size is taken from the object's actual measurements.

* The baking process is now done in the background, using the nifty threaded
Jobs system. It's non-blocking and your domain object will show the simulated
fluid as it becomes available for that frame.

A nice extra thing for the future would be to improve the visualisation of the
object's state while baking, and also the jobs system/ui could do with some
touchups - currently it has to share a bit from the 'render' job, and appears as
'Render' in the header. Progress bars for jobs in the header would be great too.

9 years agotemporary comment out for matt_e
Tom Musgrove [Thu, 25 Mar 2010 00:46:08 +0000 (00:46 +0000)]
temporary comment out for matt_e

9 years agoPatch from Francois Tarlier: extend colour balance node 'lift' value to 0.0-2.0 range
Matt Ebb [Thu, 25 Mar 2010 00:10:41 +0000 (00:10 +0000)]
Patch from Francois Tarlier: extend colour balance node 'lift' value to 0.0-2.0 range
(default 1.0), like the other controls. Thanks!

9 years agoBGE: bug #21684 fixed: multiple material with static modifier now supported with...
Benoit Bolsee [Wed, 24 Mar 2010 22:55:45 +0000 (22:55 +0000)]
BGE: bug #21684 fixed: multiple material with static modifier now supported with display list.

9 years agoFixed incorrect memcpy in subdivide operator.
Sergey Sharybin [Wed, 24 Mar 2010 19:14:10 +0000 (19:14 +0000)]
Fixed incorrect memcpy in subdivide operator.

9 years agoFixed bug with incorrect cyclic beizer curve subdivision.
Sergey Sharybin [Wed, 24 Mar 2010 19:04:32 +0000 (19:04 +0000)]
Fixed bug with incorrect cyclic beizer curve subdivision.

9 years agoMSVC 9 projectfiles
Andrea Weikert [Wed, 24 Mar 2010 19:04:17 +0000 (19:04 +0000)]
MSVC 9 projectfiles
- small update

9 years ago- Use vector interpolation functions from math_vector module in
Sergey Sharybin [Wed, 24 Mar 2010 17:52:51 +0000 (17:52 +0000)]
- Use vector interpolation functions from math_vector module in
  curve subdivision operator.
- Added function interp_v4_v4v4().

9 years agohopefully fix reported problems with include remove r27712
Campbell Barton [Wed, 24 Mar 2010 16:23:42 +0000 (16:23 +0000)]
hopefully fix reported problems with include remove r27712

9 years agoxaspect and yaspect were not working with uv project modifier & panorama, also remove...
Campbell Barton [Wed, 24 Mar 2010 16:20:13 +0000 (16:20 +0000)]
xaspect and yaspect were not working with uv project modifier & panorama, also removed some includes.

9 years agoreplace exceptions with getattr() fallback
Campbell Barton [Wed, 24 Mar 2010 15:17:11 +0000 (15:17 +0000)]
replace exceptions with getattr() fallback

9 years agofix for keying set rna path attribute and object select menu incorrect args to UI...
Campbell Barton [Wed, 24 Mar 2010 15:08:15 +0000 (15:08 +0000)]
fix for keying set rna path attribute and object select menu incorrect args to UI func.

9 years agoKeying Sets - PyAPI consistency issues:
Joshua Leung [Wed, 24 Mar 2010 12:48:03 +0000 (12:48 +0000)]
Keying Sets - PyAPI consistency issues:
* Added 'id_name' property, which is used as the "typeinfo_name" by Keying Set instances. This is simply the name of the relevant KeyingSetInfo classes.

* Renamed the 'array_index' arg for ks.add_path() to 'index'. Also removed the 'entire array' toggle arg in favour of just passing -1 to index. However, Keying Sets in general still maintain their 'entire array' toggle flags for now, it's just that the API function does conversion between the two.

9 years agoAdded Set VIsibility (V key) to Graph Editor menu.
William Reynish [Wed, 24 Mar 2010 12:39:51 +0000 (12:39 +0000)]
Added Set VIsibility (V key) to Graph Editor menu.

9 years agoremove unused includes UI_*.h, WM_*.h, ED_*.h
Campbell Barton [Wed, 24 Mar 2010 10:56:37 +0000 (10:56 +0000)]
remove unused includes UI_*.h, WM_*.h, ED_*.h

9 years agoremove unused rna includes
Campbell Barton [Wed, 24 Mar 2010 09:51:32 +0000 (09:51 +0000)]
remove unused rna includes

9 years agofix bad level calls
Tom Musgrove [Wed, 24 Mar 2010 03:48:25 +0000 (03:48 +0000)]
fix bad level calls

9 years agooops forgot this!
Robert Holcomb [Tue, 23 Mar 2010 23:36:24 +0000 (23:36 +0000)]
oops forgot this!

9 years agoFixed disappearing of NURBS surface when it's created from to joined nurbs curves.
Sergey Sharybin [Tue, 23 Mar 2010 22:09:33 +0000 (22:09 +0000)]
Fixed disappearing of NURBS surface when it's created from to joined nurbs curves.

9 years agoAdded "Number of cuts" property to the bpy.ops.curve.subdivide operator.
Sergey Sharybin [Tue, 23 Mar 2010 22:09:23 +0000 (22:09 +0000)]
Added "Number of cuts" property to the bpy.ops.curve.subdivide operator.

9 years agoenable compiling without python again
Campbell Barton [Tue, 23 Mar 2010 21:37:02 +0000 (21:37 +0000)]
enable compiling without python again

9 years agofix: Curve point was added somewhere outside the universe
Andrea Weikert [Tue, 23 Mar 2010 20:41:19 +0000 (20:41 +0000)]
fix: Curve point was added somewhere outside the universe
- MSVC needed location initialized to zero.

9 years agoPanorama camera support for UV project modifier
Campbell Barton [Tue, 23 Mar 2010 20:04:05 +0000 (20:04 +0000)]
Panorama camera support for UV project modifier

9 years agoSVN maintenance.
Guillermo S. Romero [Tue, 23 Mar 2010 19:00:48 +0000 (19:00 +0000)]
SVN maintenance.

9 years agofix [#21666] selecting images in file browser before thumbnail is created deselects...
Andrea Weikert [Tue, 23 Mar 2010 18:46:21 +0000 (18:46 +0000)]
fix [#21666] selecting images in file browser before thumbnail is created deselects them when the thumb is created
- was overwriting the selection flag
- also fixed mismatching prototype (own eek!)

Also added small update of MSVC 9 projectfiles (blendkernel/image_gen.c)

9 years agomove uv project functions into their own files to be more re-usable.
Campbell Barton [Tue, 23 Mar 2010 18:28:38 +0000 (18:28 +0000)]
move uv project functions into their own files to be more re-usable.

9 years agoSpacebar to confirm Fly Mode
Daniel Salazar [Tue, 23 Mar 2010 16:40:46 +0000 (16:40 +0000)]
Spacebar to confirm Fly Mode

9 years agoMesh Edit mode keymap conflict: Shift F should be fly mode, remapped
Daniel Salazar [Tue, 23 Mar 2010 16:17:48 +0000 (16:17 +0000)]
Mesh Edit mode keymap conflict: Shift F should be fly mode, remapped
Fill to Alt F and Beautity Fill to Shift Alt F

first commit from PrimateFX headquarters!

9 years agofix for mistake in own recent commit.
Brecht Van Lommel [Tue, 23 Mar 2010 16:17:27 +0000 (16:17 +0000)]
fix for mistake in own recent commit.
(commit 27690 by Campbell from render25 branch)

9 years agofix for crash on loading some files with composite nodes.
Brecht Van Lommel [Tue, 23 Mar 2010 16:16:32 +0000 (16:16 +0000)]
fix for crash on loading some files with composite nodes.
(commit 27689 by Campbell from render25 branch)

9 years agoworkaround for compositor threading copying actions every time.
Brecht Van Lommel [Tue, 23 Mar 2010 15:34:07 +0000 (15:34 +0000)]
workaround for compositor threading copying actions every time.
(commit 27684 by Campbell from render25 branch)

9 years agorna/py-api fix.
Brecht Van Lommel [Tue, 23 Mar 2010 15:31:12 +0000 (15:31 +0000)]
rna/py-api fix.
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument.

next commit will make order of arguments consistant (currently only changed order that rna wrapped).
(commit 27674 and 27683 by Campbell from render25 branch)

9 years agorna/py-api fix.
Brecht Van Lommel [Tue, 23 Mar 2010 15:25:33 +0000 (15:25 +0000)]
rna/py-api fix.
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument.

next commit will make order of arguments consistant (currently only changed order that rna wrapped).
(commit 27674 by Campbell from render25 branch)

9 years agoreport an error parsing args, will try fix properly but this involves many changes...
Brecht Van Lommel [Tue, 23 Mar 2010 15:21:08 +0000 (15:21 +0000)]
report an error parsing args, will try fix properly but this involves many changes so do this for now.
(commit 27671 by Campbell from render25 branch)

9 years agofix for parsing python args to rna functions, was using allocated size as argument...
Brecht Van Lommel [Tue, 23 Mar 2010 15:04:06 +0000 (15:04 +0000)]
fix for parsing python args to rna functions, was using allocated size as argument count.
(commit 27670 by Campbell from render25 branch)

9 years agopy/rna functions for adding and removing curve data.
Brecht Van Lommel [Tue, 23 Mar 2010 14:58:36 +0000 (14:58 +0000)]
py/rna functions for adding and removing curve data.
(commit 27666 by Campbell from render25 branch)

9 years agogetting an item from a collection wasnt being checked correctly.
Brecht Van Lommel [Tue, 23 Mar 2010 14:48:32 +0000 (14:48 +0000)]
getting an item from a collection wasnt being checked correctly.
(commit 27665 by Campbell from render25 branch)

9 years agobugfix for loading objects saved with the dupli pointer set.
Brecht Van Lommel [Tue, 23 Mar 2010 14:47:40 +0000 (14:47 +0000)]
bugfix for loading objects saved with the dupli pointer set.
(commit 27662 by Campbell from render25 branch)

9 years agomore lint includes
Campbell Barton [Tue, 23 Mar 2010 14:09:09 +0000 (14:09 +0000)]
more lint includes
Only source/blender/editors/ dir, should not give errors on different platforms
Only removing:  UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h

9 years agoKeying Sets: BuiltIn vs Absolute Tweaks
Joshua Leung [Tue, 23 Mar 2010 11:59:34 +0000 (11:59 +0000)]
Keying Sets: BuiltIn vs Absolute Tweaks

This commit clarifies the somewhat "murky" separation between "builtin" and "absolute" KeyingSets as a result of discussions with Cessen.

* "Builtin" Keying Sets are now just the Keying Sets which in the past have been known as PyKeyingSets or Relative KeyingSets. These are registered from Py Scripts at startup, and will use the context info to determine what data they should be keyframing. These are stored per Blender session, independent of files, since usually these will be coded specific to sets of rigs used at a studio.

* "Absolute" Keying Sets are the ones that you can create from the Scene buttons and/or KKEY or RMB over any property. They specify the exact set of properties which should always get keyframed together. These are stored in the scene.

In relation to this, I've made it possible to now set one of the builtin Keying Set types as the active Keying Set.
* For now, this can only be done via the box beside the insert/delete key operator buttons on the TimeLine header (now complete with an recycled icon - HINT TO ICON DESIGNERS, to make this a bit more obvious). Later on I'll commit an operator to set this via a hotkey.
* The "IKEY" menu will only show up when there is no active Keying Set. When there is one, keying will happen silently (with info notice at the top of the screen). Later on, I'll hook this menu up to a hotkey, so that that active Keying Set can be changed without inserting keyframes or clearing active Keying Set...
* By default, there isn't any default Keying Set enabled. IMO, this is probably a good default, though some might like to have LocRotScale instead.
* I'm not terribly impressed with the search menu for the items being SORTED (and of all things, alphabetically!) currently, since this does break muscle-memory with the menu (and jumbles up order of closely related vs not closely related).
* The Scene buttons for KeyingSets still need some changes to fully cope with users setting builtin KeyingSets as active sometimes. Controls which are useless or shouldn't be used when a builtin set is shown are being shown.

Builtin set registrations have been tweaked a bit:
* Renamed "bl_idname" to "bl_label" for consistency with rest of API. Note that this is the identifier used by Blender internally when searching for the KeyingSet, and is also what the user sees.

9 years agoAdded a line sampler to the histogram panel in the image space.
Robert Holcomb [Tue, 23 Mar 2010 01:22:33 +0000 (01:22 +0000)]
Added a line sampler to the histogram panel in the image space.
Patch #21712 from Xavier Thomas.
now updates in real time as you pull the line.

9 years agoFix for child drawing bug reported in the comments of [#21103] Updating bugs in Parti...
Janne Karhu [Mon, 22 Mar 2010 19:38:40 +0000 (19:38 +0000)]
Fix for child drawing bug reported in the comments of [#21103] Updating bugs in Particle Mode

9 years agoFix #20548: flat shading not drawing right in sculpt mode.
Brecht Van Lommel [Mon, 22 Mar 2010 17:17:36 +0000 (17:17 +0000)]
Fix #20548: flat shading not drawing right in sculpt mode.

9 years agoFix for [#21103] Updating bugs in Particle Mode
Janne Karhu [Mon, 22 Mar 2010 17:12:08 +0000 (17:12 +0000)]
Fix for [#21103] Updating bugs in Particle Mode

9 years agoMath Lib: make some more vector functions use const arguments.
Brecht Van Lommel [Mon, 22 Mar 2010 15:55:12 +0000 (15:55 +0000)]
Math Lib: make some more vector functions use const arguments.

9 years agoFix node material properties not showing correct, the code here should not
Brecht Van Lommel [Mon, 22 Mar 2010 15:50:16 +0000 (15:50 +0000)]
Fix node material properties not showing correct, the code here should not
be removed, because some panels use the parent materials while others use
the nested materials.

9 years agoSculpt: fix memory leak with anchored stroke option.
Brecht Van Lommel [Mon, 22 Mar 2010 13:24:41 +0000 (13:24 +0000)]
Sculpt: fix memory leak with anchored stroke option.

9 years agoScrew Modifier
Campbell Barton [Mon, 22 Mar 2010 12:09:39 +0000 (12:09 +0000)]
Screw Modifier
flip the closing edge so when applied a second time it doesnt flip the closing ring of faces. (means you can make a torus from 1 vertex and 2 modifiers)

9 years agoSculpt Mode Bugfixes:
Brecht Van Lommel [Mon, 22 Mar 2010 11:59:36 +0000 (11:59 +0000)]
Sculpt Mode Bugfixes:

* #20833: layer brush doesn't work with multires.
* #20946: sculpt mode partially removes parts of the mesh in the viewport.
* #20420: grab brush stops after moving some distance.
* #20906: sculpt grab tool moves in wrong direction.
* #21132 and #21272: undo on object with subdivision surface modifier crashes.
* #21115: subsurf + multires + sculpting + undo causes crash.
* #20683: sculpt + multires apply + undo crash.
* #19094: wrong outline in solid mode.

9 years agospaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)
Campbell Barton [Mon, 22 Mar 2010 09:30:00 +0000 (09:30 +0000)]
spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)

9 years agofixes for screw modifier
Campbell Barton [Mon, 22 Mar 2010 08:49:12 +0000 (08:49 +0000)]
fixes for screw modifier
- steps for a closed screw was off  by 1
- screw offset wasnt being copied

9 years agoScrew Modifier (old patch was called Lathe)
Campbell Barton [Mon, 22 Mar 2010 00:22:52 +0000 (00:22 +0000)]
Screw Modifier (old patch was called Lathe)

didnt commit this patch because curves are generally better to create a shape to lathe however now that curves can have modifiers applied to them I think its good to have this.

Added options to offset the lathe so it can work like the screw tool as well.

- optional object for axis which also controls the center point.
- screw offset so rather then just lathing this can work more like the screw tool.
- screw optionally using the object distance along the axis.
- iterations so the screw can be applied multiple times.

tested to work well with curves.

9 years agorotate_m4 was using degrees rather then radians.
Campbell Barton [Mon, 22 Mar 2010 00:14:56 +0000 (00:14 +0000)]
rotate_m4 was using degrees rather then radians.

9 years agowhen curves draw as derived meshes, check their face count rather then if the display...
Campbell Barton [Sun, 21 Mar 2010 22:54:30 +0000 (22:54 +0000)]
when curves draw as derived meshes, check their face count rather then if the display list has faces.

9 years agoremove unused includes
Campbell Barton [Sun, 21 Mar 2010 22:52:56 +0000 (22:52 +0000)]
remove unused includes

9 years agoBig cleanup of particle system core, also some minor pointcache cleanup. Shouldn...
Janne Karhu [Sun, 21 Mar 2010 20:36:06 +0000 (20:36 +0000)]
Big cleanup of particle system core, also some minor pointcache cleanup. Shouldn't contain any functional changes.

9 years agotake 2...
Campbell Barton [Sun, 21 Mar 2010 15:59:08 +0000 (15:59 +0000)]
take 2...

9 years agorecent removal of includes broke for msvc
Campbell Barton [Sun, 21 Mar 2010 15:47:13 +0000 (15:47 +0000)]
recent removal of includes broke for msvc

9 years agoFix for sequencer adding scene strips of the same scene resulting in an endless recur...
Joerg Mueller [Sun, 21 Mar 2010 15:40:36 +0000 (15:40 +0000)]
Fix for sequencer adding scene strips of the same scene resulting in an endless recursion.

9 years ago[#21682] help() doesn't work in the console
Campbell Barton [Sun, 21 Mar 2010 14:56:26 +0000 (14:56 +0000)]
[#21682] help() doesn't work in the console
replace pydoc's pager function so the console's input isnt used.

9 years ago(no commit message)
Tom Musgrove [Sun, 21 Mar 2010 14:46:43 +0000 (14:46 +0000)]

9 years agoremoved unused includes, except for physics and particle related files
Campbell Barton [Sun, 21 Mar 2010 13:42:25 +0000 (13:42 +0000)]
removed unused includes, except for physics and particle related files

9 years agoremove includes that arnt needed
Campbell Barton [Sun, 21 Mar 2010 13:07:31 +0000 (13:07 +0000)]
remove includes that arnt needed

9 years ago[#21692] Blender Crashes upon trying to view UV Test Grid (r27639)
Campbell Barton [Sun, 21 Mar 2010 10:25:21 +0000 (10:25 +0000)]
[#21692] Blender Crashes upon trying to view UV Test Grid (r27639)
fix for mistake in own commit when moving grid color func into its own file.

9 years agoFix syntax for ID keyword.
Guillermo S. Romero [Sun, 21 Mar 2010 01:14:04 +0000 (01:14 +0000)]
Fix syntax for ID keyword.

9 years ago[#21660] improved UV test grid
Campbell Barton [Sun, 21 Mar 2010 00:25:52 +0000 (00:25 +0000)]
[#21660] improved UV test grid
from shuvro sarker (shuvro)
Added text to the patch and made other minor tweaks.

moved image generation functions into their own file.

9 years agoOK, compiling doesn't mean it runs, now it should really be fixed, as I don't use...
Joerg Mueller [Sun, 21 Mar 2010 00:04:50 +0000 (00:04 +0000)]
OK, compiling doesn't mean it runs, now it should really be fixed, as I don't use NAN directly anymore.

9 years agoSVN maintenance.
Guillermo S. Romero [Sat, 20 Mar 2010 23:43:50 +0000 (23:43 +0000)]
SVN maintenance.

9 years agoFinally, this should really fix the msvc and old ubuntu compiler problems with NAN...
Joerg Mueller [Sat, 20 Mar 2010 23:36:08 +0000 (23:36 +0000)]
Finally, this should really fix the msvc and old ubuntu compiler problems with NAN and finite.

9 years agodrawing text in a byte buffer wasnt working (probably never tested since float buffer...
Campbell Barton [Sat, 20 Mar 2010 23:31:48 +0000 (23:31 +0000)]
drawing text in a byte buffer wasnt working (probably never tested since float buffer is used for rendering)

9 years agoYet another try to get NaN working on MSVC.
Joerg Mueller [Sat, 20 Mar 2010 20:00:15 +0000 (20:00 +0000)]
Yet another try to get NaN working on MSVC.

9 years agoHopefully another fix for MSVC...
Joerg Mueller [Sat, 20 Mar 2010 19:51:38 +0000 (19:51 +0000)]
Hopefully another fix for MSVC...

9 years ago- submit docs now uses the new dialog with an OK button
Campbell Barton [Sat, 20 Mar 2010 19:22:34 +0000 (19:22 +0000)]
- submit docs now uses the new dialog with an OK button
- submitting operator docs sent them twice.

9 years agoremove unused includes for blenlib, left ifdef's for non linux os's alone.
Campbell Barton [Sat, 20 Mar 2010 18:52:03 +0000 (18:52 +0000)]
remove unused includes for blenlib, left ifdef's for non linux os's alone.

9 years agopatch #21680 from Richard Olsson
Campbell Barton [Sat, 20 Mar 2010 18:03:59 +0000 (18:03 +0000)]
patch #21680 from Richard Olsson
wm.invoke_props_dialog()

This is so python scripts can have popups which do not redo all the time.

9 years agowarning fix
Campbell Barton [Sat, 20 Mar 2010 16:56:52 +0000 (16:56 +0000)]
warning fix

9 years agomerge own commits into render branch into trunk since 27560
Campbell Barton [Sat, 20 Mar 2010 16:41:01 +0000 (16:41 +0000)]
merge own commits into render branch into trunk since 27560
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623

9 years agoReplacing NAN with C++ limits version, hope that works for MSVC...
Joerg Mueller [Sat, 20 Mar 2010 16:28:51 +0000 (16:28 +0000)]
Replacing NAN with C++ limits version, hope that works for MSVC...

9 years agoFix [#21658] file browser "hide invisible" doesn't hide anything
Andrea Weikert [Sat, 20 Mar 2010 14:23:56 +0000 (14:23 +0000)]
Fix [#21658] file browser "hide invisible" doesn't hide anything
- moved global hide_dot to filelist.
- hiding dot files is now included in the filtering of files, which means that for this directory also doesn't have to be read anymore.
- reverted changes of rev. 27491 and related changes in rev. 27523 in favor of a more general abstraction for the different 'file browser modes' with respect to filtering.

9 years agoFix for [#21639] Playback with AV-sync and None sound system.
Joerg Mueller [Sat, 20 Mar 2010 11:50:27 +0000 (11:50 +0000)]
Fix for [#21639] Playback with AV-sync and None sound system.

9 years ago"Fix" aka implementation of [#21548] Audio doesn't work when adding scenes with audio...
Joerg Mueller [Sat, 20 Mar 2010 11:15:16 +0000 (11:15 +0000)]
"Fix" aka implementation of [#21548] Audio doesn't work when adding scenes with audio to another scene.

9 years agoCocoa: fix some mem leaks appearing on 10.4 builds
Damien Plisson [Sat, 20 Mar 2010 10:14:59 +0000 (10:14 +0000)]
Cocoa: fix some mem leaks appearing on 10.4 builds

9 years agoOperator name improvements in select menu
Daniel Salazar [Sat, 20 Mar 2010 05:14:22 +0000 (05:14 +0000)]
Operator name improvements in select menu