10 years agoFix regressions in the color management / dither patch.
Brecht Van Lommel [Tue, 10 Jan 2012 14:24:18 +0000 (14:24 +0000)]
Fix regressions in the color management / dither patch.

10 years agoFix jobs progress display in taskbar incorrectly flashing on/off with multiple
Brecht Van Lommel [Tue, 10 Jan 2012 14:24:02 +0000 (14:24 +0000)]
Fix jobs progress display in taskbar incorrectly flashing on/off with multiple
jobs active.

10 years agoAdding the kyrgyz language.
Bastien Montagne [Tue, 10 Jan 2012 14:02:27 +0000 (14:02 +0000)]
Adding the kyrgyz language.

10 years agoremove WITH_OGG define, its not used anywhere.
Campbell Barton [Tue, 10 Jan 2012 13:33:53 +0000 (13:33 +0000)]
remove WITH_OGG define, its not used anywhere.

10 years agoSome editors choke on lines over 100,000 chars long. Better split.
Campbell Barton [Tue, 10 Jan 2012 11:22:41 +0000 (11:22 +0000)]
Some editors choke on lines over 100,000 chars long. Better split.

10 years agocomment unused vars
Campbell Barton [Mon, 9 Jan 2012 22:18:04 +0000 (22:18 +0000)]
comment unused vars

10 years agoCamera tracking: fixes for preview widget
Sergey Sharybin [Mon, 9 Jan 2012 20:19:07 +0000 (20:19 +0000)]
Camera tracking: fixes for preview widget

- Clamping of image on boundaries now happens nicely
- Looks like to prevent dark edges on image boundary when doing
  bicubic interpolation, margin should be 3px. Maybe somebody can verify this?

10 years agoCamera tracking: minor code cleanup of RNA file, no functional changes
Sergey Sharybin [Mon, 9 Jan 2012 20:18:57 +0000 (20:18 +0000)]
Camera tracking: minor code cleanup of RNA file, no functional changes

10 years agoCamera tracking: tracks copy/paste operator
Sergey Sharybin [Mon, 9 Jan 2012 20:18:48 +0000 (20:18 +0000)]
Camera tracking: tracks copy/paste operator

This commit implements basic clipboard support for movie tracking data
int clip editor. Used own implementation of clipboard like it's done
for sequencer.
Ideally it needed to be switched to more general clipboard system, but
currently this system is designed for text data only and it need to
be re-designed itself. But this feature is quite useful since object
tracking is implemented, so it should be OK to live with such own
implementation for a while.

10 years agoCamera tracking: marker's frame number is now writable from python api
Sergey Sharybin [Mon, 9 Jan 2012 20:18:36 +0000 (20:18 +0000)]
Camera tracking: marker's frame number is now writable from python api

10 years agoCamera tracking: improvements of python api
Sergey Sharybin [Mon, 9 Jan 2012 20:18:28 +0000 (20:18 +0000)]
Camera tracking: improvements of python api

- marker_find_frame moved to MovieTrack.markers and called find_frame
- Added MovieTrack.markers.insert_frame to insert marker at specified frame
- Added MovieTrack.markers.delete_frame to delete marker from specified frame

10 years agoui typo + small fix
Dalai Felinto [Mon, 9 Jan 2012 20:13:03 +0000 (20:13 +0000)]
ui typo + small fix

Blender internally deals with Font Objects, but as far as the user is concerned they are Text Objects.
Which, btw, makes me wonder why we have an 'F' as the logo for Text objects, and why the ob.type is 'FONT' in python

(I guess it's a Font Data for a Text object)

10 years agoCycles: multi GPU rendering support.
Brecht Van Lommel [Mon, 9 Jan 2012 16:58:01 +0000 (16:58 +0000)]
Cycles: multi GPU rendering support.

The rendering device is now set in User Preferences > System, where you can
choose between OpenCL/CUDA and devices. Per scene you can then still choose
to use CPU or GPU rendering.

Load balancing still needs to be improved, now it just splits the entire
render in two, that will be done in a separate commit.

10 years agoCycles: show elapsed time for F12/background render.
Brecht Van Lommel [Mon, 9 Jan 2012 16:57:46 +0000 (16:57 +0000)]
Cycles: show elapsed time for F12/background render.

10 years agoCycles: small tweak to checker texture, scale rather than add with epsilon,
Brecht Van Lommel [Mon, 9 Jan 2012 16:57:26 +0000 (16:57 +0000)]
Cycles: small tweak to checker texture, scale rather than add with epsilon,
looks a bit better on all sides of a mesh.

10 years agoFix #29835: joining meshes leads to crash
Sergey Sharybin [Mon, 9 Jan 2012 15:17:09 +0000 (15:17 +0000)]
Fix #29835: joining meshes leads to crash

10 years agoFix #29793: Physics go crazy if frames get skipped
Sergey Sharybin [Mon, 9 Jan 2012 14:08:06 +0000 (14:08 +0000)]
Fix #29793: Physics go crazy if frames get skipped

Calculate cloth and softbody only for single frame time deltas
(like it's already done for smoke)

10 years agohave add_weight_mcol_dm() set the 4th corner of a tri faces color to 0, otherwise...
Campbell Barton [Mon, 9 Jan 2012 10:38:22 +0000 (10:38 +0000)]
have add_weight_mcol_dm() set the 4th corner of a tri faces color to 0, otherwise uninitialized memory gets copied about.

10 years agoWIP script to check results of different modifier combinations and display modes...
Campbell Barton [Mon, 9 Jan 2012 10:30:27 +0000 (10:30 +0000)]
WIP script to check results of different modifier combinations and display modes, useful for validating bmesh changes don't break specific modifier combinations.

10 years agoTag unused argument
Sergey Sharybin [Mon, 9 Jan 2012 09:30:51 +0000 (09:30 +0000)]
Tag unused argument

10 years agobugfix for solidify modifier rim faces which were created from triangles, would get...
Campbell Barton [Mon, 9 Jan 2012 09:30:04 +0000 (09:30 +0000)]
bugfix for solidify modifier rim faces which were created from triangles, would get wrong customdata copied since it used the 4th index of a tri.

fixed already in bmesh.

10 years agoTypo fix - thanks "Olson" on IRC!
Joshua Leung [Mon, 9 Jan 2012 09:12:55 +0000 (09:12 +0000)]
Typo fix - thanks "Olson" on IRC!

10 years agodont draw object center dot for opengl render
Campbell Barton [Mon, 9 Jan 2012 03:16:30 +0000 (03:16 +0000)]
dont draw object center dot for opengl render

10 years agofix an error rendering opengl weightpaint data wasn't working when python initialized...
Campbell Barton [Mon, 9 Jan 2012 02:50:09 +0000 (02:50 +0000)]
fix an error rendering opengl weightpaint data wasn't working when python initialized opengl render on startup (needed for testing script).

10 years agoFix #29828: Reloading background movie clip crashes Blender
Sergey Sharybin [Sun, 8 Jan 2012 19:51:14 +0000 (19:51 +0000)]
Fix #29828: Reloading background movie clip crashes Blender

Crash was caused by invalidating scopes used by space clip editors. It shouldn't
actually happen in movie clip reload operator due to it will happen on NA_EDITED
notifier handler sent to movie clip context.

10 years agoCycles: checker texture node, patch by Thomas.
Brecht Van Lommel [Sun, 8 Jan 2012 14:55:43 +0000 (14:55 +0000)]
Cycles: checker texture node, patch by Thomas.

10 years agoColor:
Brecht Van Lommel [Sun, 8 Jan 2012 13:55:53 +0000 (13:55 +0000)]

* Accelerated sRGB <=> linear conversion using lookup table, this can speed up
  loading of images in the compositor and simple renders quite a bit.
* Dithering now uses the Floyd-Steinberg algorithm. Previously it would simply
  randomize each pixel slightly, adding noise, now that should be reduced.

Patch #29309 by David M.

10 years agoImproved auto-hiding of unused sockets for collapsed nodes.
Lukas Toenne [Sun, 8 Jan 2012 10:23:19 +0000 (10:23 +0000)]
Improved auto-hiding of unused sockets for collapsed nodes.

Instead of generally hiding all unused sockets in collapsed mode, the sockets now have a new explicit flag SOCK_AUTO_HIDDEN, which is only toggled when the hide_toggle operator is called. This way the auto-hidden sockets stay as they are when nodes are duplicated etc. The new flag is necessary to distinguish between manually hidden sockets (via hide_sockets_toggle operator) and automatically hidden sockets and restore the node state when unhiding a node.

10 years agoFix for [#28978]
Alexander Kuznetsov [Sun, 8 Jan 2012 05:10:52 +0000 (05:10 +0000)]
Fix for [#28978]
Disabling mode switching in panning in 2d as it is disabled in 3d also.
Apparently, it is a not good idea to call modal method from a modal method as the last won't be canceled.

10 years agoCode cleanup
Joshua Leung [Sun, 8 Jan 2012 04:14:13 +0000 (04:14 +0000)]
Code cleanup

Removing some old + unused stuff that's not coming back. For example, the code
for the old "specials menu" used everywhere/all contexts.

10 years agoFix for last commit, missed check for ob, could cause errors when object was removed.
Thomas Dinges [Fri, 6 Jan 2012 22:55:15 +0000 (22:55 +0000)]
Fix for last commit, missed check for ob, could cause errors when object was removed.

10 years agoMore whitespace cleanup in python scripts
Sergey Sharybin [Fri, 6 Jan 2012 21:25:28 +0000 (21:25 +0000)]
More whitespace cleanup in python scripts

10 years agoWhitespace cleanup in curve properties script
Sergey Sharybin [Fri, 6 Jan 2012 21:24:10 +0000 (21:24 +0000)]
Whitespace cleanup in curve properties script

10 years agoFix #29568: Blender restores deleted scene
Sergey Sharybin [Fri, 6 Jan 2012 17:32:20 +0000 (17:32 +0000)]
Fix #29568: Blender restores deleted scene

Special notifiers used for scene deletion which lead to undo pushes
after SCENE_OT_delete operator happening with scene still present in
the mainfile. That was a reason why operator redo used to restore

It's not so obvious why special notifier type is needed for scene
set and deletion -- it confuses undo system without having some
obvious advantages. Using "direct" scene deletion and setting
seems to be working fine so let's see if there'll be some issues
with this.

10 years agoMove glTexEnvi to draw__start/draw__end.
Diego Borghetti [Fri, 6 Jan 2012 16:40:57 +0000 (16:40 +0000)]
Move glTexEnvi to draw__start/draw__end.

As Campbell point, this is to avoid call glGet/glTexEnvi
on each character.

10 years agoTweaks for Node Header UI code:
Thomas Dinges [Fri, 6 Jan 2012 16:37:07 +0000 (16:37 +0000)]
Tweaks for Node Header UI code:
* Don't show "New material" operator, when object type can't have materials
* Don't show "Use Nodes" for lamps in Blender Internal.

10 years agoFix #29743: Video sequencer wipe effect bug
Sergey Sharybin [Fri, 6 Jan 2012 10:08:46 +0000 (10:08 +0000)]
Fix #29743: Video sequencer wipe effect bug

Blur width used to be calculated quite strange depending on current angle.
Also, it used to be using wrong formula to calculate distance between
current point and boundary line which made blur width almost useless.

Now actual blur width is doesn't depend on angle and use corrected formula
for distance calculation which makes blur width slider behaves more

This commit might make old files using wipe+blur be rendered a bit differently,
but don't think it's indeed issue because old behavior was crappy to setup
something useful so don't think this setup was used a lot.

10 years agouse warnigns for all msvc configurations
Campbell Barton [Fri, 6 Jan 2012 05:13:36 +0000 (05:13 +0000)]
use warnigns for all msvc configurations

10 years agoBumping up scons+msvc warning level to w1 so that we at least get some warnings
Joshua Leung [Fri, 6 Jan 2012 04:07:09 +0000 (04:07 +0000)]
Bumping up scons+msvc warning level to w1 so that we at least get some warnings
out of it.

10 years agoBugfix [#29806] World nodetrees not included in Animation Editor filtering
Joshua Leung [Fri, 6 Jan 2012 04:03:31 +0000 (04:03 +0000)]
Bugfix [#29806] World nodetrees not included in Animation Editor filtering

This was mostly only a problem when using Cycles, where NodeTrees are used to
control the world settings.

Also needed to knock out a few remnants of some bygone attempted optimisation
attempts which were preventing this from working (i.e. if a world block didn't
have any animdata, it's child nodetree would never get seen/tested). These
worked ok in the past, but are not that flexible for extension.

10 years agoCycles / Nodes:
Thomas Dinges [Fri, 6 Jan 2012 01:31:36 +0000 (01:31 +0000)]
Cycles / Nodes:
* Make it possible to add a new material from the Node header, if no material exists in the (active) material slot.

10 years ago3DView / Properties Region:
Thomas Dinges [Fri, 6 Jan 2012 01:14:57 +0000 (01:14 +0000)]
3DView / Properties Region:
* Simplify UI inside the Transform Orientation Panel.

10 years agoCycles/Material list:
Thomas Dinges [Fri, 6 Jan 2012 01:07:13 +0000 (01:07 +0000)]
Cycles/Material list:
* Don't display "Node <none>" message in the material list, when new shading nodes are used.

10 years agoProperties Window UI:
Thomas Dinges [Thu, 5 Jan 2012 23:49:57 +0000 (23:49 +0000)]
Properties Window UI:
* Some tweaks to the stamp panel to make it more compact.
* Remove "Stamp" Prefix for the color values, redundant info.

10 years agofix error building without openexr
Campbell Barton [Thu, 5 Jan 2012 23:36:03 +0000 (23:36 +0000)]
fix error building without openexr

10 years agoFix #29723: wrong IOR for raytraced refraction after reflection inside mesh,
Brecht Van Lommel [Thu, 5 Jan 2012 22:41:56 +0000 (22:41 +0000)]
Fix #29723: wrong IOR for raytraced refraction after reflection inside mesh,
patch by Juha Maki-Kanto.

10 years agoFix #29760: cycles border render issue on 32 bit linux.
Brecht Van Lommel [Thu, 5 Jan 2012 22:41:46 +0000 (22:41 +0000)]
Fix #29760: cycles border render issue on 32 bit linux.

10 years agocorrect error in own commit r43159, unintentionally removed NULL check
Campbell Barton [Thu, 5 Jan 2012 22:14:38 +0000 (22:14 +0000)]
correct error in own commit r43159, unintentionally removed NULL check

10 years agoFix #29796: Poor screencast quality with any AVI Codec
Sergey Sharybin [Thu, 5 Jan 2012 18:03:48 +0000 (18:03 +0000)]
Fix #29796: Poor screencast quality with any AVI Codec

Looks like some codecs depends on valid PTS set for frame to encode
frame in right way. PTS is calculating based on current frame number
appending to stream which is stored in render data.

So use rd.cfra in screenshot_startjob() instead of keeping own variable
for reporting current frame number.

Now codecs should be happy and work nice.

10 years agoFix mistake in recent refactoring, dither needs to be float not int.
Brecht Van Lommel [Thu, 5 Jan 2012 17:50:34 +0000 (17:50 +0000)]
Fix mistake in recent refactoring, dither needs to be float not int.

10 years agoFix #29801: various compositing nodes not working correct after translate,
Brecht Van Lommel [Thu, 5 Jan 2012 17:50:25 +0000 (17:50 +0000)]
Fix #29801: various compositing nodes not working correct after translate,
e.g. separate HSVA node.

10 years agoCode refactoring: split render result related functions into separate file.
Brecht Van Lommel [Thu, 5 Jan 2012 17:50:09 +0000 (17:50 +0000)]
Code refactoring: split render result related functions into separate file.

10 years ago* Fixing a typo in clip operators.
Thomas Dinges [Thu, 5 Jan 2012 16:57:15 +0000 (16:57 +0000)]
* Fixing a typo in clip operators.
CLIP_spacees_walk > CLIP_spaces_walk

10 years ago2.6 UI Files:
Thomas Dinges [Thu, 5 Jan 2012 16:04:25 +0000 (16:04 +0000)]
2.6 UI Files:
* Some code cleanup.

10 years agono need to recalculate normals after setting smooth flags, for a short time the flag...
Campbell Barton [Thu, 5 Jan 2012 15:45:57 +0000 (15:45 +0000)]
no need to recalculate normals after setting smooth flags, for a short time the flag was used for vertex normals but not anymore.

10 years agoprint message for unknown args to make it clear that these are not recognized.
Campbell Barton [Thu, 5 Jan 2012 11:02:27 +0000 (11:02 +0000)]
print message for unknown args to make it clear that these are not recognized.

10 years agoadd _default versions of sequence sound functions since most of their uses passed...
Campbell Barton [Thu, 5 Jan 2012 10:34:50 +0000 (10:34 +0000)]
add _default versions of sequence sound functions since most of their uses passed along the same args from sequence strips. (no functional changes)

10 years agodisable recent attempt to static link mingw DLL's causes errors for some users.
Campbell Barton [Thu, 5 Jan 2012 10:05:24 +0000 (10:05 +0000)]
disable recent attempt to static link mingw DLL's causes errors for some users.

also remove break statement, mistake on last commit.

10 years agoreplace double prints in readfile.c with a BKE_reportf wrapper
Campbell Barton [Thu, 5 Jan 2012 09:50:07 +0000 (09:50 +0000)]
replace double prints in readfile.c with a BKE_reportf wrapper

10 years agologic editor ui adjustment, all gameprop types are replaced by the ...
Dalai Felinto [Thu, 5 Jan 2012 08:08:58 +0000 (08:08 +0000)]
logic editor ui adjustment, all gameprop types are replaced by the (not only Text)

10 years agolink mingw libstdc++ and libgcc libs statically so users dont need mingw installed...
Campbell Barton [Thu, 5 Jan 2012 07:52:03 +0000 (07:52 +0000)]
link mingw libstdc++ and libgcc libs statically so users dont need mingw installed to use mingw builds

10 years agomore edits to r43145,
Campbell Barton [Thu, 5 Jan 2012 06:34:14 +0000 (06:34 +0000)]
more edits to r43145,
- remove redundant check in new prop operator which is covered by operators poll func.
- use get_ob_property to get the object prop in BL_ConvertTextProperty() rather then looping for it.

10 years agoedit on recent font UI changes.
Campbell Barton [Thu, 5 Jan 2012 06:12:26 +0000 (06:12 +0000)]
edit on recent font UI changes.

don't show the text objects body in the ui - this could be pages of text and even though it only draws part of this, it still allocates and frees the string on every draw.

10 years agoadd bpy collection method .find(key), so you can get the index of an item in a collec...
Campbell Barton [Thu, 5 Jan 2012 06:05:45 +0000 (06:05 +0000)]
add bpy collection method .find(key), so you can get the index of an item in a collection, -1 if not found.

use this to replace bge text ui py function.

10 years agoBGE Font Object: fix for relative path not working AND packed fonts not working
Dalai Felinto [Thu, 5 Jan 2012 06:02:42 +0000 (06:02 +0000)]
BGE Font Object: fix for relative path not working AND packed fonts not working
[I don't think anyone has ever reported those, what makes me slightly sad but carry on ;)]

Those fixes introduce a more generic function to load a font before calling BLF_load.
I think it should move to be part of Blender util routines or BLF itself.

For the time being here will make it. Once we get <builtin> font working we go for this.
Thanks Diego Borghetti for the usual assistance with blf.

10 years agocorrect api doc examples and a typo
Campbell Barton [Thu, 5 Jan 2012 05:43:35 +0000 (05:43 +0000)]
correct api doc examples and a typo

10 years agoThis patch creates an interface for ["Text"] properties in Font objects.
Dalai Felinto [Wed, 4 Jan 2012 21:40:00 +0000 (21:40 +0000)]
This patch creates an interface for ["Text"] properties in Font objects.


Simple test file:
(I'll commit this to the text suite later)

Code Explanation:
(1) it adds a toggle to add/remove a "Text" gameproperty.
 - internally this property is just another game property (so we can find it within the lookup).
 - the property itself has no 'value', the interface shows the content of instead (why? because gameproperties are per object, while the text is per data).

(2) at BGE converter time it sets the current value of the to the ["Text"] property.

(3) if you change object.text (bge text property) it automatically convert ["Text"] to a CStringValue.

*** that means if the original property was a CIntegerValue, it will be converted to CStringValue forever ***

* the only to do I can think of is to add a warning at doversion time if user has ["Text"] property for a Font object *
* when that happens we print a warning in console/popup.*

10 years agoCycles: device code refactoring, no functional changes.
Brecht Van Lommel [Wed, 4 Jan 2012 18:06:32 +0000 (18:06 +0000)]
Cycles: device code refactoring, no functional changes.

10 years agoCamera tracking: added depth object to Follow Track constraint
Sergey Sharybin [Wed, 4 Jan 2012 17:20:08 +0000 (17:20 +0000)]
Camera tracking: added depth object to Follow Track constraint

If this object is defined, object with Follow Track constraint would be
projected into surface of this depth object.
If object is not set or there's no projection onto it, projection plane
calculated based on original object position would be used.

This allows to make cheap facial mocap.

10 years agoFix #29764: Crash when border rendering in sequencer. (Not Cycles related)
Sergey Sharybin [Wed, 4 Jan 2012 15:28:03 +0000 (15:28 +0000)]
Fix #29764: Crash when border rendering in sequencer. (Not Cycles related)

Sequencer render context should be as large as the whole frame when rendering
using border without clipping.

Can be implemented in more clear way but it'll require more global refactoring.

10 years agoCamera tracking: more accurate track preview widget
Sergey Sharybin [Wed, 4 Jan 2012 15:25:43 +0000 (15:25 +0000)]
Camera tracking: more accurate track preview widget

- Added 1px extra margin to deal with bicubic interpolation nicely
- Code should be a bit more clear now

10 years agoCamera tracking: fixed snap cursor to selection operator when witness camera is active
Sergey Sharybin [Wed, 4 Jan 2012 11:20:50 +0000 (11:20 +0000)]
Camera tracking: fixed snap cursor to selection operator when witness camera is active

10 years agoFix #29671: Issues with .mts video files
Sergey Sharybin [Wed, 4 Jan 2012 09:27:34 +0000 (09:27 +0000)]
Fix #29671: Issues with .mts video files

Video frame decoding used to leave packet reading cycle before frame
is fully decoded in cases frame is encoded by several packets.

10 years agoCamera tracking: fixes in Link Empty to Track and Bundles to Mesh operators
Sergey Sharybin [Wed, 4 Jan 2012 09:19:39 +0000 (09:19 +0000)]
Camera tracking: fixes in Link Empty to Track and Bundles to Mesh operators

- This operators always used to work with tracks for camera
- Properly set camera and object fields to Follow Track constraint
- TrackingObject.tracks is now pointing to actual list of tracks for
  camera objects.

10 years agoObject tracking: now Object Solver constraint can be converted to F-Curves
Sergey Sharybin [Wed, 4 Jan 2012 08:43:28 +0000 (08:43 +0000)]
Object tracking: now Object Solver constraint can be converted to F-Curves

10 years agode-duplicate wave modifier texture function.
Campbell Barton [Wed, 4 Jan 2012 05:39:56 +0000 (05:39 +0000)]
de-duplicate wave modifier texture function.

cmon - copying large functions between files is obviously stupid, dont do it!

10 years agoreplace wave spesific enum with generic onces
Campbell Barton [Wed, 4 Jan 2012 05:24:01 +0000 (05:24 +0000)]
replace wave spesific enum with generic onces

10 years agoedits to UV project modifier which make it easier to sync with bmesh.
Campbell Barton [Wed, 4 Jan 2012 05:13:29 +0000 (05:13 +0000)]
edits to UV project modifier which make it easier to sync with bmesh.

10 years agobugfix - get_texture_coords() used by wave/warp/weight modifiers could initialize...
Campbell Barton [Wed, 4 Jan 2012 04:56:06 +0000 (04:56 +0000)]
bugfix - get_texture_coords() used by wave/warp/weight modifiers could initialize a verts coords from the 4th UV of a triangle face.

10 years agoCorrect use of your vs you're in py api docs
Campbell Barton [Wed, 4 Jan 2012 03:22:37 +0000 (03:22 +0000)]
Correct use of your vs you're in py api docs

10 years agoderivative maps must take into account that texture scales can be negative
Morten Mikkelsen [Tue, 3 Jan 2012 22:27:30 +0000 (22:27 +0000)]
derivative maps must take into account that texture scales can be negative

10 years agocalculate factor before using MAX2 macro
Morten Mikkelsen [Tue, 3 Jan 2012 22:18:52 +0000 (22:18 +0000)]
calculate factor before using MAX2 macro

10 years agoderivative maps were not working correctly with UV scale (the texture setting size)
Morten Mikkelsen [Tue, 3 Jan 2012 22:09:22 +0000 (22:09 +0000)]
derivative maps were not working correctly with UV scale (the texture setting size)

10 years agoFix:
Diego Borghetti [Tue, 3 Jan 2012 19:41:36 +0000 (19:41 +0000)]
  [#25834] no color of textobjects in game engine when combined with
   textured objects
  [#26893] Curruption of displayed text (debug properties/fps info or bgui)
    when using animated/tile uv mode

The first bug was beacuse a bad mode on the texture environment, now
we save the current glTexEnvi, set the one that we need, draw and
restore the original at the end.

The second was because a missing call to glLoadIdentity for the
texture matrix and as we do before, now we do a gl-Push/Identity/Pop
for this matrix to.

The first problem was solved by Kanttori and the second by Dalai.

10 years agoFix for follow track constraint using incorrect icon name
Sergey Sharybin [Tue, 3 Jan 2012 14:56:48 +0000 (14:56 +0000)]
Fix for follow track constraint using incorrect icon name

10 years agofixes to mathutils from Andew Hale
Campbell Barton [Tue, 3 Jan 2012 14:34:41 +0000 (14:34 +0000)]
fixes to mathutils from Andew Hale
- docstring edits
- normalize ignores W axis as its supposed to.

10 years agoCode cleanup - removing some ugly/obsolete stuff I came across while hacking
Joshua Leung [Tue, 3 Jan 2012 10:55:46 +0000 (10:55 +0000)]
Code cleanup - removing some ugly/obsolete stuff I came across while hacking
some other stuff earlier

10 years agoRemesh Modifier:
Thomas Dinges [Tue, 3 Jan 2012 04:03:41 +0000 (04:03 +0000)]
Remesh Modifier:
* Fix for Campbell's "option to build without remesh modifier for cmake and scons" commit, this broke scons!

10 years agoerror in recent commit - disallow selecting hidden verts.
Campbell Barton [Tue, 3 Jan 2012 02:45:03 +0000 (02:45 +0000)]
error in recent commit - disallow selecting hidden verts.

10 years agofix [#29761] Texture painting with interpolation ignores use alpha
Campbell Barton [Tue, 3 Jan 2012 02:26:32 +0000 (02:26 +0000)]
fix [#29761] Texture painting with interpolation ignores use alpha
reporter - Shawn Zilbert (enigmatic) included patch.

10 years agoBugfix [#29629] UV animation stops working forever if Edit mode entered
Joshua Leung [Tue, 3 Jan 2012 02:11:11 +0000 (02:11 +0000)]
Bugfix [#29629] UV animation stops working forever if Edit mode entered
Thanks Sergey for the patch!

This bug, and many like it would arise because at some point a F-Curve would get
detected as being unable to be resolved (when trying to display its name in an
Animation Editor), so gets tagged as being "disabled". It was assumed that such
channels usually belonged to deleted data or stuff that wouldn't be able to be
resolved again for a long time. However, in cases like UV settings, they may
only be unavailable temporarily.

As a compromise, this patch clears this disabled flag if a channel is found to
be now working when (in the process of finding out its name when redrawing an
Animation Editor) it can be resolved, in the same place where the disabling was
taking place. This doesn't work fullproof in tests I've done, but should be
nicer than before.

10 years agoFix #29695: cycles particle emitter not being properly hidden.
Brecht Van Lommel [Mon, 2 Jan 2012 19:44:13 +0000 (19:44 +0000)]
Fix #29695: cycles particle emitter not being properly hidden.

10 years agoFix #29740: missing cycles viewport update with animated node socket values.
Brecht Van Lommel [Mon, 2 Jan 2012 19:44:07 +0000 (19:44 +0000)]
Fix #29740: missing cycles viewport update with animated node socket values.

10 years agoRemove some silly variable copies that stuck around from a previous refactor.
Nicholas Bishop [Mon, 2 Jan 2012 19:01:16 +0000 (19:01 +0000)]
Remove some silly variable copies that stuck around from a previous refactor.

10 years agoreplace:
Campbell Barton [Mon, 2 Jan 2012 17:15:24 +0000 (17:15 +0000)]
  CTX_data_pointer_get_type(C, "object", &RNA_Object).data
with api call:

... since getting the context object is such a common operation.

10 years agoweight paint buttons now work in weight paint vertex select mode
Campbell Barton [Mon, 2 Jan 2012 16:59:46 +0000 (16:59 +0000)]
weight paint buttons now work in weight paint vertex select mode

10 years agoFix #29746: cycles crash with border render.
Brecht Van Lommel [Mon, 2 Jan 2012 16:20:18 +0000 (16:20 +0000)]
Fix #29746: cycles crash with border render.

10 years agopy scripts - replace bad uses of len(),
Campbell Barton [Mon, 2 Jan 2012 16:18:39 +0000 (16:18 +0000)]
py scripts - replace bad uses of len(),
checking if the collection is True is faster since it only checks if it has at least one item, rather then going over all items.

10 years agoFix #29755: cycles crash with array modifier that can produce material indices
Brecht Van Lommel [Mon, 2 Jan 2012 15:51:49 +0000 (15:51 +0000)]
Fix #29755: cycles crash with array modifier that can produce material indices
that are out of bounds.

10 years agonicer string delimiter handling for Ctrl+Left/Right arrows, py console could use...
Campbell Barton [Mon, 2 Jan 2012 15:27:01 +0000 (15:27 +0000)]
nicer string delimiter handling for Ctrl+Left/Right arrows, py console could use this functon too.