10 years agoFixed missed selection oulines for curves/surfaces/fonts/armature when texture shadin...
Sergey Sharybin [Sun, 21 Nov 2010 14:05:18 +0000 (14:05 +0000)]
Fixed missed selection oulines for curves/surfaces/fonts/armature when texture shading is active

10 years ago- check IF WIN32 AND NOT UNIX (for cygwin)
Campbell Barton [Sun, 21 Nov 2010 13:41:43 +0000 (13:41 +0000)]
- check IF WIN32 AND NOT UNIX (for cygwin)
- patch from Mike S to enable OpenMP and xcode

10 years agoBugfix #24824
Ton Roosendaal [Sun, 21 Nov 2010 13:01:22 +0000 (13:01 +0000)]
Bugfix #24824

Color Picker: when inserting keys (right mouse menu), the colors didn't
change for buttons to indicate such. The function that sets the flags
returned too early.

10 years ago- include pthreads for win32 globally (as with opengl).
Campbell Barton [Sun, 21 Nov 2010 09:10:50 +0000 (09:10 +0000)]
- include pthreads for win32 globally (as with opengl).
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)

10 years ago- some more rna range corrections
Campbell Barton [Sun, 21 Nov 2010 09:06:27 +0000 (09:06 +0000)]
- some more rna range corrections
- correct exception messages for mathutils constructors.

10 years agoincorrect argument parsing for python opengl module bgl.
Campbell Barton [Sun, 21 Nov 2010 05:35:29 +0000 (05:35 +0000)]
incorrect argument parsing for python opengl module bgl.
unsigned byte/short/int were being passes as signed values which would raise an overflow error if a range greater then the signed value was used.

10 years agofix for RNA ranges exceeding the range of the type (INT_MAX used on short's for eg).
Campbell Barton [Sun, 21 Nov 2010 03:45:35 +0000 (03:45 +0000)]
fix for RNA ranges exceeding the range of the type (INT_MAX used on short's for eg).

10 years agoChanging KX_Camera.perspective didn't actually change the camera's perspective becaus...
Mitchell Stokes [Sun, 21 Nov 2010 01:55:08 +0000 (01:55 +0000)]
Changing KX_Camera.perspective didn't actually change the camera's perspective because the camera's matrix was cached. The setter for KX_Camera.perspective now invalidates the camera's matrix so it's recomputed with the change.

10 years ago[#24827] Crash when auto-keyframing while playing animation
Martin Poirier [Sat, 20 Nov 2010 21:43:16 +0000 (21:43 +0000)]
[#24827] Crash when auto-keyframing while playing animation

Reported by AndrĂ© Oliveira

Need to pass valid context to autokeying callback function.

10 years agoBugfix #24792
Ton Roosendaal [Sat, 20 Nov 2010 19:20:27 +0000 (19:20 +0000)]
Bugfix #24792

On file save, the 3d view thumbnail creation caused changes in lighting
enables. Solved with a glPushAttrib() and pop.

10 years ago== Multires ==
Nicholas Bishop [Sat, 20 Nov 2010 18:54:58 +0000 (18:54 +0000)]
== Multires ==

Fixed bug #20620, "VertColors and Flat/Soft imported from 2.49 are wrong
(MultiRes)" reported by Manuel R.

* Added function to load level-0 vertex colors
* Added function to load level-0 face flags
* Warning: the 2.5 multires modifier doesn't support multires vertex colors
  or multires face flags; that data will be lost if you import it into 2.5.

10 years agoCancel edge slide on invalid selection.
Martin Poirier [Sat, 20 Nov 2010 18:46:36 +0000 (18:46 +0000)]
Cancel edge slide on invalid selection.

Patch by Shane Ambler

10 years agoBugfix #21028
Ton Roosendaal [Sat, 20 Nov 2010 17:31:59 +0000 (17:31 +0000)]
Bugfix #21028

- Image Editor, "New", gave for each tweak in redo menu a new Image
  when Object is in Editmode. This is a limitation of our current
  undo system. Marked this issue in the wiki todo.
  Solved by adding a poll in operator that prevents this to be called.
  (a bit annoying, but the error is worse!)

- On assigning a new image texture to faces in Editmode, no redraw
  happened in 3D window. Added notifier for it.

10 years agoAllow keyframing editmode curve values, also fix a bug where adding a new curve would...
Campbell Barton [Sat, 20 Nov 2010 17:28:05 +0000 (17:28 +0000)]
Allow keyframing editmode curve values, also fix a bug where adding a new curve would always use object mode spline list but removing would use editmode when set.

10 years ago- report python script errors to blender report system, or through operators reports...
Campbell Barton [Sat, 20 Nov 2010 16:39:15 +0000 (16:39 +0000)]
- report python script errors to blender report system, or through operators reports (when using operator callbacks).
- when python operators fail to execute they were returning RUNNING_MODAL, now return CANCELLED

now when an operator fails it gives an error popup as well as a message in the terminal.

10 years agoBugfix #24801
Ton Roosendaal [Sat, 20 Nov 2010 16:00:36 +0000 (16:00 +0000)]
Bugfix #24801

- Reading 2.4x files could cause print "missing region type".
  Appeared the 2.50 do_versions patch differed from default region
- Sometimes editors showed wrong button for type browsing.
  Was because variable wasn't correctly reset on saves.

10 years agoregion.tag_redraw() broke building with the player.
Campbell Barton [Sat, 20 Nov 2010 14:39:03 +0000 (14:39 +0000)]
region.tag_redraw() broke building with the player.

10 years agoWITH_OPENJPEG wasn't defined for CMake or SCons, which meant blender couldn't save...
Campbell Barton [Sat, 20 Nov 2010 14:19:21 +0000 (14:19 +0000)]
WITH_OPENJPEG wasn't defined for CMake or SCons, which meant blender couldn't save jpeg2000 images from the file selector.
also fixed typo in jp2.c

10 years agoBugfix for [#24768] 6DoF Constraint options missing.
Thomas Dinges [Sat, 20 Nov 2010 09:48:51 +0000 (09:48 +0000)]
Bugfix for [#24768] 6DoF Constraint options missing.
* Added the options in UI and RNA

Funny Note: This was on my own to-do list (see commit 20577 in the py file from 2009-06-02 when I ported the UI from C to Python) :P

10 years ago- smoke wasn't closing the file of loading a tile had the wrong length.
Campbell Barton [Sat, 20 Nov 2010 07:51:39 +0000 (07:51 +0000)]
- smoke wasn't closing the file of loading a tile had the wrong length.
- missing break in operator context switch meant RGN_TYPE_CHANNELS was always being overwritten with RGN_TYPE_PREVIEW when calling operators (from r26692)

10 years agofix smoke memory leak with OpenMP disabled.
Campbell Barton [Sat, 20 Nov 2010 07:40:50 +0000 (07:40 +0000)]
fix smoke memory leak with OpenMP disabled.

10 years ago- add python/rna function region.tag_redraw()
Campbell Barton [Sat, 20 Nov 2010 05:11:10 +0000 (05:11 +0000)]
- add python/rna function region.tag_redraw()
- removed print which was before NULL check, (possible crash)
- add execute hooks for the python console (not used by any scripts yet)

10 years agoreloading addons wasn't working.
Campbell Barton [Sat, 20 Nov 2010 04:18:06 +0000 (04:18 +0000)]
reloading addons wasn't working.

10 years ago- use relative imports for packages
Campbell Barton [Sat, 20 Nov 2010 02:56:58 +0000 (02:56 +0000)]
- use relative imports for packages
- reload() has been removed from pythons builtins. use imp.reload() instead (still need to apply globally).
- fixed own mistake, not ignoring 'filter_glob' as a keyword argument (broke fbx, obj, 3ds export)

10 years agopatch from Shane Ambler, free memory when failing to create slide verts.
Campbell Barton [Fri, 19 Nov 2010 17:29:51 +0000 (17:29 +0000)]
patch from Shane Ambler, free memory when failing to create slide verts.

10 years agobugfix [#24812] Cannot change top/left/front views in quad view after camera change
Campbell Barton [Fri, 19 Nov 2010 17:16:25 +0000 (17:16 +0000)]
bugfix [#24812] Cannot change top/left/front views in quad view after camera change

10 years agoTsk! Circle, cross and axis draw types for particles weren't using the particle draw...
Janne Karhu [Fri, 19 Nov 2010 16:19:15 +0000 (16:19 +0000)]
Tsk! Circle, cross and axis draw types for particles weren't using the particle draw size.

10 years agoTsk! Minimum value for particle draw size is 0 (default size).
Janne Karhu [Fri, 19 Nov 2010 16:19:07 +0000 (16:19 +0000)]
Tsk! Minimum value for particle draw size is 0 (default size).

10 years agoFix for [#23696] Receive Transparent produces shadows in diffuse pass
Janne Karhu [Fri, 19 Nov 2010 15:17:33 +0000 (15:17 +0000)]
Fix for [#23696] Receive Transparent produces shadows in diffuse pass
* Even Ton couldn't remember why that code was there, so problem solved by removing the code :)

10 years agofix for error in recent commit.
Campbell Barton [Fri, 19 Nov 2010 11:57:10 +0000 (11:57 +0000)]
fix for error in recent commit.

10 years agouse CMake's OpenMP built in detection rather then defining flags ourselves.
Campbell Barton [Fri, 19 Nov 2010 11:33:12 +0000 (11:33 +0000)]
use CMake's OpenMP built in detection rather then defining flags ourselves.

10 years agofix [#24810] Mist Settings Are Not Visually Updated When Camera Displays Mist
Campbell Barton [Fri, 19 Nov 2010 11:10:56 +0000 (11:10 +0000)]
fix [#24810] Mist Settings Are Not Visually Updated When Camera Displays Mist

10 years agofix [#24804] filetring of files doesnt work for import/export
Campbell Barton [Fri, 19 Nov 2010 10:33:44 +0000 (10:33 +0000)]
fix [#24804] filetring of files doesnt work for import/export

10 years agobugfix [#24807] nan pixel on Word BG with Angular Map coord texture
Campbell Barton [Fri, 19 Nov 2010 10:24:14 +0000 (10:24 +0000)]
bugfix [#24807] nan pixel on Word BG with Angular Map coord texture
also avoid divide by zero with an empty raytree

10 years ago"Fix" for [#24743] Strand Shading: Distance slider gives different results even when...
Janne Karhu [Fri, 19 Nov 2010 08:37:19 +0000 (08:37 +0000)]
"Fix" for [#24743] Strand Shading: Distance slider gives different results even when greyed out
* The actual flag was set at render time, was not supposed to be editable manually.

10 years agoPossible fix for [#23982] Display update with animated nested custom ID properties
Janne Karhu [Fri, 19 Nov 2010 08:17:57 +0000 (08:17 +0000)]
Possible fix for [#23982] Display update with animated nested custom ID properties
* Any property area can have animated properties, so redraw the area on frame changes regardless of the specific property area type.

10 years agopatch [#24800] Make scene type buttons from material preview optional
Campbell Barton [Fri, 19 Nov 2010 07:46:23 +0000 (07:46 +0000)]
patch [#24800] Make scene type buttons from material preview optional
from Wenzel Jakob (wenzel)

10 years agoedit on last commit, for calculating drivers on obdata just check for animdata rather...
Campbell Barton [Fri, 19 Nov 2010 07:40:17 +0000 (07:40 +0000)]
edit on last commit, for calculating drivers on obdata just check for animdata rather then the object type.
also use switch rather then if checks.

10 years agobugfix [#24796] Drivers are ineffective on Text & Curve obj. geometry parameters
Campbell Barton [Fri, 19 Nov 2010 07:31:24 +0000 (07:31 +0000)]
bugfix [#24796] Drivers are ineffective on Text & Curve obj. geometry parameters
also added note that adjusting bone radius changes the parent bone for connected child bones, and fix typo on failing to read startup.blend (both pointed out by MikeS on IRC)

10 years agobugfix for pivot constraint.
Campbell Barton [Fri, 19 Nov 2010 06:21:39 +0000 (06:21 +0000)]
bugfix for pivot constraint.
- no rotation resulted in NAN location.
- subtraction of pivot done in wrong order made the constraint give odd results when rotating on more then 1 axis.

10 years agoFixing a crash when dynamically loading a scene that contains a bone parent.
Mitchell Stokes [Fri, 19 Nov 2010 04:06:06 +0000 (04:06 +0000)]
Fixing a crash when dynamically loading a scene that contains a bone parent.

10 years agobugfix [#24803] Export UV Layout in PNG (default) corrupts Blendfile
Campbell Barton [Fri, 19 Nov 2010 03:45:45 +0000 (03:45 +0000)]
bugfix [#24803] Export UV Layout in PNG (default) corrupts Blendfile

Removing a scene would set the active scene, assuming the scene removed was the current scene. This broke UV Export which used a temp background scene.

10 years ago[#24802] Invert vertex group not inverting armature modifier influence
Campbell Barton [Fri, 19 Nov 2010 03:09:51 +0000 (03:09 +0000)]
[#24802] Invert vertex group not inverting armature modifier influence
the armature vertex group options only apply to Multi-Modifier, rename and edit the UI to make this clear.

10 years agouse 'const char *' for imbuf and file ops.
Campbell Barton [Fri, 19 Nov 2010 02:14:18 +0000 (02:14 +0000)]
use 'const char *' for imbuf and file ops.

10 years agoremove unused argument.
Campbell Barton [Fri, 19 Nov 2010 01:06:46 +0000 (01:06 +0000)]
remove unused argument.

10 years agoBugfix #24795: Typo fix in particle_system.c
Joshua Leung [Thu, 18 Nov 2010 23:48:55 +0000 (23:48 +0000)]
Bugfix #24795: Typo fix in particle_system.c

Also, fixed indention in armature.c (stupid space-based indention)

10 years agoAlgorithm fix for fluid particles:
Janne Karhu [Thu, 18 Nov 2010 19:12:36 +0000 (19:12 +0000)]
Algorithm fix for fluid particles:
* The SPH fluid particle algorithm was implemented a bit wrong. This problem could for example result in the fluid moving sideways after being dropped straight to a horizontal collision surface, a very big no-no as far as real world physics are concerned!
* After some extensive code shuffling the algorithm is now much more true to the paper it was implemented from, and more importantly now the physics should be correct too!
* The main thing was that fluids calculations can effect many particles simultaneously, so just a single loop through all particles can't work properly. As a side note this also means that the actual fluid algorithm can't be made threaded :(
* To make things work I also had to reshuffle some general particle physics code, but there should be no functional changes what so ever to other physics types, so poke me immediately if something strange happens.

Note to users: these changes will most probably effect the way previously done sph fluid simulations look, so some parameter tweaking will be needed to get things back looking the way they were.

10 years agoBugfix #22052
Ton Roosendaal [Thu, 18 Nov 2010 19:11:05 +0000 (19:11 +0000)]
Bugfix #22052

OpenGL viewport render gave squeezed results in cases.
Reason: some graphics cards only give offscreen buffers in multiples
of 256 or 512 (my case).

Current fix uses the actual size returned by graphics card, which
is also safe for too large renders.
More elaborate cropping or matching is for another time.

(Added printf for feedback on this, might disappear)

10 years agoFeature fix
Ton Roosendaal [Thu, 18 Nov 2010 16:38:32 +0000 (16:38 +0000)]
Feature fix

When using Material Nodes, there was no indication in Material
Property window which node was active. The context/channel widget
now shows this.

Better would be to be able to browse nodes in this list, and
to have option to preview only this material (not node tree
result). Enough todo for future :)

10 years agobugfix [#22615] Opening a blend file in python (bpy.ops.wm.open_mainfile() (r29489)
Campbell Barton [Thu, 18 Nov 2010 16:33:13 +0000 (16:33 +0000)]
bugfix [#22615] Opening a blend file in python (bpy.ops.wm.open_mainfile() (r29489)
       [#22557] bpy.ops.wm.read_homefile() causes segfault (r29372)

10 years agofix [#24786] Setting Rotation Units to Radians doesn't affect the UI [33146]
Campbell Barton [Thu, 18 Nov 2010 14:10:09 +0000 (14:10 +0000)]
fix [#24786] Setting Rotation Units to Radians doesn't affect the UI [33146]

10 years agomissed removing the file for scons.
Campbell Barton [Thu, 18 Nov 2010 13:52:09 +0000 (13:52 +0000)]
missed removing the file for scons.

10 years agoremove unused classes.
Campbell Barton [Thu, 18 Nov 2010 12:54:05 +0000 (12:54 +0000)]
remove unused classes.

10 years agorename libs internal libs for CMake + SCons (used in MSVC project files)
Campbell Barton [Thu, 18 Nov 2010 11:42:05 +0000 (11:42 +0000)]
rename libs internal libs for CMake + SCons (used in MSVC project files)
for game engine use "ge_" prefix & make names generally more descriptive.

10 years agopatch [#24736] 3ds import hierarchy
Campbell Barton [Thu, 18 Nov 2010 10:36:14 +0000 (10:36 +0000)]
patch [#24736] 3ds import hierarchy
from Dominique Lorre (dlorre)
- fixes [#24626] 3ds import assigns wrong positions to objects
- spec info,

This patch adds parent/child support to the 3ds importer.

10 years agoBug fix:
Ton Roosendaal [Thu, 18 Nov 2010 08:44:50 +0000 (08:44 +0000)]
Bug fix:

When 2nd window open, the code that tried to find an Image editor in the
the active window failed.

10 years agoBugfix #24781: Can't use rest position / pose position on linked-group proxy armatures
Joshua Leung [Thu, 18 Nov 2010 05:45:21 +0000 (05:45 +0000)]
Bugfix #24781: Can't use rest position / pose position on linked-group proxy armatures

10 years agobugfix [#24783] Strange shadows on beveled curve; goes away with modifier
Campbell Barton [Thu, 18 Nov 2010 05:35:04 +0000 (05:35 +0000)]
bugfix [#24783] Strange shadows on beveled curve; goes away with modifier
this bug wasnt in 2.4x, suspect this happened when normal flipping was removed.

10 years agobugfix [#24777] Scale both markers and keyframes at the same time?
Campbell Barton [Thu, 18 Nov 2010 05:05:06 +0000 (05:05 +0000)]
bugfix [#24777] Scale both markers and keyframes at the same time?
sync marker option worked for translate and extend but not for scale in the dope sheet.

10 years agofix [#24780] Metaballs are not drawn correctly in new scenes
Campbell Barton [Thu, 18 Nov 2010 04:26:50 +0000 (04:26 +0000)]
fix [#24780] Metaballs are not drawn correctly in new scenes

this is a can of worms, at the moment blender depends on broken behavior for metaballs:
 find_basis_mball() can return a metaball object that fails a is_basis_mball() check which makes this logic very confusing (added note about this in mball.c).

Metaballs needs a refactor however at least make drawing fail consistently,
For wire draw is_basis_mball() wasn't being checked, for solid drawing it was (hence the strange wire frame).

For now the motherball needs to exist in the main scene else it wont work.

10 years ago- many settings in a new scene didn't match the startup.blend defaults, copied into...
Campbell Barton [Thu, 18 Nov 2010 03:03:17 +0000 (03:03 +0000)]
- many settings in a new scene didn't match the startup.blend defaults, copied into scene.c.
- view3d metaball panel wasn't updated for rna name change 'location' -> 'co'

10 years agostore the view align setting even if its disabled & don't edit the view quat when...
Campbell Barton [Thu, 18 Nov 2010 00:26:00 +0000 (00:26 +0000)]
store the view align setting even if its disabled & don't edit the view quat when getting a euler from it.

10 years agoextensions_framework: lots of docs and code formatting to be more pep8-like
Doug Hammond [Wed, 17 Nov 2010 21:28:22 +0000 (21:28 +0000)]
extensions_framework: lots of docs and code formatting to be more pep8-like

10 years agoBugfix, irc report by lmg
Ton Roosendaal [Wed, 17 Nov 2010 18:05:33 +0000 (18:05 +0000)]
Bugfix, irc report by lmg

Operator 'add object' didn't show checkbox for "align to view" if such was
set in user preferences.

10 years agobugfix [#24690] Scene.frame_set() breaks pose restore
Campbell Barton [Wed, 17 Nov 2010 17:38:56 +0000 (17:38 +0000)]
bugfix [#24690] Scene.frame_set() breaks pose restore
scene.frame_set() was sending out a frame change notifier which would update the scene loosing any un-keyed changes after a script ran.
for now use a window redraw notifier.

10 years agoBugfix #24767
Ton Roosendaal [Wed, 17 Nov 2010 16:25:30 +0000 (16:25 +0000)]
Bugfix #24767

Operator redo in 3D window now moves context to the main region,
makes knife cut work (and probably others)

Todo: this callback should be shared with other redo panels. On the
todo list.

10 years agobugfix [#24685] Changing mode bypasses undo suppression
Campbell Barton [Wed, 17 Nov 2010 15:16:49 +0000 (15:16 +0000)]
bugfix [#24685] Changing mode bypasses undo suppression
Editmode undo operator was using the operator OPTYPE_UNDO flag as well as its own EM_DO_UNDO option.

This gave 2 problems.
- python suppressed undos would fail (as in the report).
- Undo push was called twice on exiting editmode for no reason.

Use the operator undo in this case.

10 years agofixes from r33127
Campbell Barton [Wed, 17 Nov 2010 14:36:19 +0000 (14:36 +0000)]
fixes from r33127

10 years agofix [#24762] Bezier Point Radius Cannot be Set When Curve is Created
Campbell Barton [Wed, 17 Nov 2010 12:59:59 +0000 (12:59 +0000)]
fix [#24762] Bezier Point Radius Cannot be Set When Curve is Created
this could be set in 2.4x, no reason to be readonly.

10 years agobugfix [#24766] Crasher on inserting keyframe on Bezier points [33126]
Campbell Barton [Wed, 17 Nov 2010 12:52:56 +0000 (12:52 +0000)]
bugfix [#24766] Crasher on inserting keyframe on Bezier points [33126]

10 years agobugfix [#24671] Operators called from Python Leak Memory
Campbell Barton [Wed, 17 Nov 2010 12:32:39 +0000 (12:32 +0000)]
bugfix [#24671] Operators called from Python Leak Memory
This problem is caused by returning Modal from a non-modal operator.

10 years agoBugfix for previous commit.
Joshua Leung [Wed, 17 Nov 2010 12:16:34 +0000 (12:16 +0000)]
Bugfix for previous commit.

Tweaked keymap for Graph Editor Ctrl-LMB so that the popup menu for displaying reports won't get dismissed immediately. Changing keymap here from KM_PRESS to KM_CLICK

10 years agoKeyframing Operators: Improved Error Messages
Joshua Leung [Wed, 17 Nov 2010 12:02:36 +0000 (12:02 +0000)]
Keyframing Operators: Improved Error Messages

* Keyframing operators now use the reports system for displaying all its error messages.
- The benefit of this is that users no longer need to check the console for error messages if keyframing fails.
- Unfortunately, reports are not currently viewable in any space/view in Blender, so...

* Added a temporary operator (UI_OT_reports_to_textblock), which can be accessed in the UI from the button which appears in place of the icon when more than one report exists. This dumps the current list of reports to a textblock "Recent Reports", from which they can be viewed.

This isn't really nice, but at least we now have a way to view these again, which makes debugging some things a pain.

* Bugfix #24606 - when trying to add keyframes to F-Curves with F-Modifiers already which alter the curve significantly enough that the keyframes will have no effect, there are now warnings which aim to alleviate any confusion.

10 years agoshould fix building with collada.
Campbell Barton [Wed, 17 Nov 2010 11:09:07 +0000 (11:09 +0000)]
should fix building with collada.

10 years agouse 'const char *' by default with RNA functions except when the value is flagged...
Campbell Barton [Wed, 17 Nov 2010 09:45:45 +0000 (09:45 +0000)]
use 'const char *' by default with RNA functions except when the value is flagged as PROP_THICK_WRAP.
Also use const char in many other parts of blenders code.

Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.

10 years ago- move cmake file for python.
Campbell Barton [Wed, 17 Nov 2010 07:22:20 +0000 (07:22 +0000)]
- move cmake file for python.
- move bpy_array.c to bpy_rna_array.c
- minor syntax changes

10 years agocleanup the operator template and rename to operator_export
Campbell Barton [Wed, 17 Nov 2010 07:00:14 +0000 (07:00 +0000)]
cleanup the operator template and rename to operator_export

10 years agoFix #22645: Texture paint: soften tool does draw brushes
Sergey Sharybin [Wed, 17 Nov 2010 06:30:06 +0000 (06:30 +0000)]
Fix #22645: Texture paint: soften tool does draw brushes

Disable projection painting for soften tools.

Also it looks like smear tools support projection in the code, so
enabled project paint menu for such tools

10 years agoAdding monitoring for (approximate) VRAM used by textures. The information is current...
Mitchell Stokes [Wed, 17 Nov 2010 05:28:25 +0000 (05:28 +0000)]
Adding monitoring for (approximate) VRAM used by textures. The information is currently only used in the profiling data of the BGE.

Here is a image of it in action:

What it monitors:
  * VRAM used by textures created via bf_gpu and BL_Textures

What it does not monitor:
  * VRAM used by the Blender ui
  * VRAM used by 2d filters
  * VRAM allocated by the user via KX_Scene.pre_draw and KX_Scene.pre_draw

10 years agowriting single images from a render (own commit r33104), wasn't checking if the rende...
Campbell Barton [Wed, 17 Nov 2010 04:02:19 +0000 (04:02 +0000)]
writing single images from a render (own commit r33104), wasn't checking if the render was cancelled which would crash when writing the image.

also remove paranoid checks for writing TAGA, Other formats - BMP, JPEG, Iris don't do this.

10 years agobugfix [#24672] Bone.evaluate_envelope() is misleading
Campbell Barton [Wed, 17 Nov 2010 03:26:50 +0000 (03:26 +0000)]
bugfix [#24672] Bone.evaluate_envelope() is misleading
fix from Dan Eicher

10 years agobugfix [#24761] minor bug - Modifiers don't "catches" Vertex Group renaming automatically
Campbell Barton [Wed, 17 Nov 2010 03:21:50 +0000 (03:21 +0000)]
bugfix [#24761] minor bug - Modifiers don't "catches" Vertex Group renaming automatically

10 years agopatch [#24760] Bezier handles update
Campbell Barton [Wed, 17 Nov 2010 03:15:08 +0000 (03:15 +0000)]
patch [#24760] Bezier handles update
from Dan Eicher (dna)

Made some edits to the patch because only the first spline was getting the updates.
also added path functions for splines and spline points (request from ZanQdo so splines can be keyframed).

10 years agothe 'Multi' option was not being copied with the armature modifier.
Campbell Barton [Wed, 17 Nov 2010 01:50:25 +0000 (01:50 +0000)]
the 'Multi' option was not being copied with the armature modifier.

10 years agoFixing bad ui range in camera draw size
Daniel Salazar [Wed, 17 Nov 2010 01:15:31 +0000 (01:15 +0000)]
Fixing bad ui range in camera draw size

10 years agoFix [#24592] COLLADA imports only one special node per type per node
Nathan Letwory [Tue, 16 Nov 2010 23:18:17 +0000 (23:18 +0000)]
Fix [#24592] COLLADA imports only one special node per type per node
Reported and patched by Martijn Berger

10 years agoApply patch [#24722] COLLADA exporter: handle instancing
Nathan Letwory [Tue, 16 Nov 2010 22:27:31 +0000 (22:27 +0000)]
Apply patch [#24722] COLLADA exporter: handle instancing
Submitted by Wenzel Jakob

Patch adds handling of linked meshes: instead of generating separate geometry objects, use instances.

10 years agobugfix [#24509] UV/Image Editor: selected elements move not as specified
Campbell Barton [Tue, 16 Nov 2010 17:37:26 +0000 (17:37 +0000)]
bugfix [#24509] UV/Image Editor: selected elements move not as specified

10 years agoBugfix #23677
Ton Roosendaal [Tue, 16 Nov 2010 17:10:39 +0000 (17:10 +0000)]
Bugfix #23677

Very old bug: Material/Render: the "filter" option for transparent
absorption also works for alpha==0, but in that case another part
of render code just didn't add the faces in render list.

10 years agoFix for [#24750] Particles draw percentage setting is not working in No Physics mode
Janne Karhu [Tue, 16 Nov 2010 16:56:21 +0000 (16:56 +0000)]
Fix for [#24750] Particles draw percentage setting is not working in No Physics mode

10 years agoFix for [#24706] 2.55 beta Hair now only rendering small fuzzy blob
Janne Karhu [Tue, 16 Nov 2010 16:39:35 +0000 (16:39 +0000)]
Fix for [#24706] 2.55 beta Hair now only rendering small fuzzy blob

10 years agooption to immediately write single render to a file added for OpenGL render.
Campbell Barton [Tue, 16 Nov 2010 15:15:20 +0000 (15:15 +0000)]
option to immediately write single render to a file added for OpenGL render.

10 years agobugfix [#24462] UV Layouts saved as PNG results in two files (rename bug)
Campbell Barton [Tue, 16 Nov 2010 14:45:27 +0000 (14:45 +0000)]
bugfix [#24462] UV Layouts saved as PNG results in two files (rename bug)
renaming failed in some cases, now we can just render to a file.

10 years agooption to write images to a files on single frame renders, this isn't accessed by...
Campbell Barton [Tue, 16 Nov 2010 14:40:46 +0000 (14:40 +0000)]
option to write images to a files on single frame renders, this isn't accessed by the UI at the moment, but could eventually be used for saving test-renders.

The main reason to have this is so renders can be scripted to write to a specific file without having to do annoying tricks like set a dummy start/end frame range, render an animation and work out the current frame image will be written to, then rename after rendering.

Also made some 'char *' args into 'const char *'

10 years agoBug #22585
Ton Roosendaal [Tue, 16 Nov 2010 13:41:39 +0000 (13:41 +0000)]
Bug #22585

Using texture nodes for displacement crashes, a conflict between using
nodes in render and for displacement at same time. Code simply disables
texture nodes for displacement for now, until we have better handling for it.
(on our long todo)

10 years agoCurve's UI minor fix:
Sergey Sharybin [Tue, 16 Nov 2010 13:25:21 +0000 (13:25 +0000)]
Curve's UI minor fix:

- "Use Deformed" replaced back with "Fill Deformed"
- Use a bit more informative tooltip for this option

10 years agoedits to image save operator, no functional changes.
Campbell Barton [Tue, 16 Nov 2010 13:08:24 +0000 (13:08 +0000)]
edits to image save operator, no functional changes.
- don't rename the image when saving (problematic if the image is used with linked libraries)
- file writing and path updating was duplicated for multilayer images.

10 years agoUV Layout Export was missing UV Layer check.
Campbell Barton [Tue, 16 Nov 2010 12:54:44 +0000 (12:54 +0000)]
UV Layout Export was missing UV Layer check.

10 years agoRemoving unnecesary print "draw swap exchange"
Ton Roosendaal [Tue, 16 Nov 2010 12:29:30 +0000 (12:29 +0000)]
Removing unnecesary print "draw swap exchange"

10 years agoFixed wrong rna name for the old "UV Orco" option.
Ton Roosendaal [Tue, 16 Nov 2010 12:10:57 +0000 (12:10 +0000)]
Fixed wrong rna name for the old "UV Orco" option.

It was called "map on length", but it actually makes the UV
values of curves/nurbs to become used as "Generated" texture
map input.

Sorry; this might break own local UI py script saves... :)