9 years agoMerging r37437 through r37478 from trunk into soc-2011-tomato
Sergey Sharybin [Tue, 14 Jun 2011 16:08:39 +0000 (16:08 +0000)]
Merging r37437 through r37478 from trunk into soc-2011-tomato

9 years agoNodes display now follow 'DPI' user pref too
Ton Roosendaal [Tue, 14 Jun 2011 15:55:46 +0000 (15:55 +0000)]
Nodes display now follow 'DPI' user pref too

9 years agofix [#25423] Mirror clipping is ignored with single vertex extrusion when using Face...
Campbell Barton [Tue, 14 Jun 2011 11:18:00 +0000 (11:18 +0000)]
fix [#25423] Mirror clipping is ignored with single vertex extrusion when using Face Snapping.

9 years agoBugfix #27573
Ton Roosendaal [Tue, 14 Jun 2011 09:55:38 +0000 (09:55 +0000)]
Bugfix #27573

Sculpt and Paint undo steps kept hanging in the sculpt/paint modes.
Now undo will switch back to global undo, and redo enter the mode
again. Just like weight/vertex paint.

9 years agofix [#27659] Segfault when adding None to a group
Campbell Barton [Tue, 14 Jun 2011 09:41:29 +0000 (09:41 +0000)]
fix [#27659] Segfault when adding None to a group

9 years agoinclude some useful info in bge docs, by ZiauddinMK on IRC.
Campbell Barton [Tue, 14 Jun 2011 07:46:38 +0000 (07:46 +0000)]
include some useful info in bge docs, by ZiauddinMK on IRC.

9 years agoFixed weird assignment inside condition statement.
Sergey Sharybin [Tue, 14 Jun 2011 07:33:25 +0000 (07:33 +0000)]
Fixed weird assignment inside condition statement.

9 years agorevert own fix for [#27648], looks like this needs to work differently to be fixed.
Campbell Barton [Tue, 14 Jun 2011 05:19:16 +0000 (05:19 +0000)]
revert own fix for [#27648], looks like this needs to work differently to be fixed.

9 years agoown mistake in recent mask commit.
Campbell Barton [Tue, 14 Jun 2011 04:19:00 +0000 (04:19 +0000)]
own mistake in recent mask commit.

9 years agoedit DAG defines to make it easier to add more & modify.
Campbell Barton [Tue, 14 Jun 2011 04:05:58 +0000 (04:05 +0000)]
edit DAG defines to make it easier to add more & modify.

9 years agomask modifier: replace bone hash lookup with a boolean array to quickly check selecti...
Campbell Barton [Tue, 14 Jun 2011 02:26:43 +0000 (02:26 +0000)]
mask modifier: replace bone hash lookup with a boolean array to quickly check selection state.
simple test gives ~28% speedup in building the vertex hash. (no functional change)

9 years agomask modifier was taking into account zero weighted verts.
Campbell Barton [Tue, 14 Jun 2011 01:54:03 +0000 (01:54 +0000)]
mask modifier was taking into account zero weighted verts.

9 years agofix [#27648] Weird shading behind grayed out negate checkbox
Campbell Barton [Tue, 14 Jun 2011 01:04:11 +0000 (01:04 +0000)]
fix [#27648] Weird shading behind grayed out negate checkbox

9 years agocmake: correct uninitialized vars
Campbell Barton [Tue, 14 Jun 2011 00:24:50 +0000 (00:24 +0000)]
cmake: correct uninitialized vars

9 years agoSince scene sequence strips use the 'use_sequencer' setting, make it available in...
Campbell Barton [Mon, 13 Jun 2011 21:35:24 +0000 (21:35 +0000)]
Since scene sequence strips use the 'use_sequencer' setting, make it available in the sequencer panel.

9 years ago2.5 Camera:
Thomas Dinges [Mon, 13 Jun 2011 20:21:48 +0000 (20:21 +0000)]
2.5 Camera:
* Increase "Ortho_scale" maximum from 1k to 4k, Request by francoisgfx.

9 years agoBGE Patch: [#27425] Allow to change the damping of the camera actuator
Dalai Felinto [Mon, 13 Jun 2011 17:08:33 +0000 (17:08 +0000)]
BGE Patch: [#27425] Allow to change the damping of the camera actuator
original name: "Allow to change the strenght of the "go behind" constraint of the camera actuator"

The camera actuator is an actuator that drive the camera to follow an object, with a set of constraint.
Currently, when the object followed rotate on himself (like a person, or an helicopter), the camera is really slow to go behind (at least 10 seconds).

This patch gives the UI to tweak the strenght of the 'go behind'[named damping] constraint.

epydocs (rst) updated too

9 years agoFix [#27463] COLLADA light quadratic attenuation exported wrong?
Nathan Letwory [Mon, 13 Jun 2011 15:07:36 +0000 (15:07 +0000)]
Fix [#27463] COLLADA light quadratic attenuation exported wrong?
Reported by Pelle Johnsen
Fix falloff import. Point light and Spot light always were set to inverse quad, instead of choosing the proper one based on imported values.


9 years agoFix #27540: bug with bump mapping + reflection texture coordinates + nodes.
Brecht Van Lommel [Mon, 13 Jun 2011 14:56:47 +0000 (14:56 +0000)]
Fix #27540: bug with bump mapping + reflection texture coordinates + nodes.

9 years agoFix #27570: apply button for modifiers required the modifier to be enabled, we
Brecht Van Lommel [Mon, 13 Jun 2011 14:11:29 +0000 (14:11 +0000)]
Fix #27570: apply button for modifiers required the modifier to be enabled, we
now just enable the modifier before apply.

Patch Bastien Montagne (with some tweaks), thanks!

9 years agoFix #27594: non-active object in weight paint mode doesn't free memory.
Brecht Van Lommel [Mon, 13 Jun 2011 12:03:13 +0000 (12:03 +0000)]
Fix #27594: non-active object in weight paint mode doesn't free memory.
Also removed some commented out 2.4x code that is already replaced.

9 years agoBugfix #27537
Ton Roosendaal [Mon, 13 Jun 2011 12:03:05 +0000 (12:03 +0000)]
Bugfix #27537

Using texture properties, the material nodes now re-render previews too.

9 years agoFix #27635: GLSL filter uniform variable not set for group instance.
Brecht Van Lommel [Mon, 13 Jun 2011 11:36:25 +0000 (11:36 +0000)]
Fix #27635: GLSL filter uniform variable not set for group instance.

The problem was that SCA_2DFilterActuator was defining and using a
variable called "m_gameObj", when it should be using "m_gameobj" as
defined by SCA_ILogicBrick. The way it was, reparenting did only half
the work required to duplicate the actuator.

Patch by Alex Fraser, thanks!

9 years agoTurn off Quicktime support by default. Will be phased out soon.
Nathan Letwory [Mon, 13 Jun 2011 09:33:27 +0000 (09:33 +0000)]
Turn off Quicktime support by default. Will be phased out soon.

9 years agominor updates to the cmake checker
Campbell Barton [Mon, 13 Jun 2011 03:09:14 +0000 (03:09 +0000)]
minor updates to the cmake checker

9 years agoElbeem / Fluidsim:
Daniel Genrich [Mon, 13 Jun 2011 00:02:23 +0000 (00:02 +0000)]
Elbeem / Fluidsim:
a) Also fixed an "upcomming" bug in regard of gravx,y,z now converted into an array.
b) Little typo fix

9 years agoElbeem / Fluidsim update:
Daniel Genrich [Sun, 12 Jun 2011 23:51:30 +0000 (23:51 +0000)]
Elbeem / Fluidsim update:
a) Enable the possibility to remove the "air bubble" around submerged collision object. This feature is enabled as standard for new files. The code was found in elbeem by nudelZ, coded and provided by Nils Thürey (thanks!)
b) Old baked files gets deleted if a new bake gets started (were overwritten before and resulted in weird old bake + new bake mixture) (idea by nudelZ)

9 years agoFix/Workaround for [#27643] drawing glitch:
Thomas Dinges [Sun, 12 Jun 2011 20:27:28 +0000 (20:27 +0000)]
Fix/Workaround for [#27643] drawing glitch:
* Removed the Icon of the menu, when an icon is used, it draws a triangle icon, assuming it is a sub menu.

9 years agoCamera tracking integration
Sergey Sharybin [Sun, 12 Jun 2011 20:13:06 +0000 (20:13 +0000)]
Camera tracking integration

Fixed bug with uninitialized memory usage when preparing frame number
from movie clip file name.

This error lead to incorrect offset for image sequence. Not sure why this
works fine for some cases, but this easily leads to incorrect footage

9 years agoCamera tracking integration
Sergey Sharybin [Sun, 12 Jun 2011 18:25:31 +0000 (18:25 +0000)]
Camera tracking integration

Fixed bug with Blender crashing when active marker isn't tracked for
current frame and MARKER tools are active.

Fixed pool function for active marker data panel.

Thanks to Troy Sobotka and Stephan Kassemeyer for reports.

9 years agoMerging r37371 through r37433 from trunk into soc-2011-tomato
Sergey Sharybin [Sun, 12 Jun 2011 18:20:36 +0000 (18:20 +0000)]
Merging r37371 through r37433 from trunk into soc-2011-tomato

9 years agoBugfix #27519
Ton Roosendaal [Sun, 12 Jun 2011 13:35:17 +0000 (13:35 +0000)]
Bugfix #27519

Full Sample AA (FSA) was failing in cases. Bug report was an empty
scene (with compo nodes) linking in another .blend scene (with render).

That case gave warning "FSA not supported with rendering". That now is

Then I noticed FSA was giving corrupt sample buffers or crashes in cases,
especially on first buffer, this appeared to be a missing compo tag on
first sample buffer.

Lastly, to make FSA render a tiny bit less frustrating: added render window
statistic to show which of the FSA steps is being done.

9 years agoQuick Explode operator:
Janne Karhu [Sun, 12 Jun 2011 11:14:28 +0000 (11:14 +0000)]
Quick Explode operator:
* Sets up a particle system and an explode modifier.
* In "blend" mode requires two selected objects and creates "crossed keyed" particle systems between the objects for a simple blend effect where the first object explodes and then recombines as the second object.
* Also renamed the other quick effect operators as "Quick ..." to bring some consistency to the operators (also nice that now you can just write "quick" to the operator search and get all these operators).

9 years agoBug fix: keyed physics didn't work properly if the first key wasn't the keyed particl...
Janne Karhu [Sun, 12 Jun 2011 11:09:39 +0000 (11:09 +0000)]
Bug fix: keyed physics didn't work properly if the first key wasn't the keyed particle system itself
* Also some nicer rotation handling for the explode modifier

9 years ago2.5 Image Buttons:
Thomas Dinges [Sun, 12 Jun 2011 11:03:21 +0000 (11:03 +0000)]
2.5 Image Buttons:
* Code cleanup, removed some unnecessary code.

9 years ago2.5 Image Buttons:
Thomas Dinges [Sun, 12 Jun 2011 10:24:47 +0000 (10:24 +0000)]
2.5 Image Buttons:
* Fixed an alignment issue, left column had unnecessary row declaration.

9 years agoLogic: clear "Script" when setting Script Controller mode to "Module"
Dalai Felinto [Sun, 12 Jun 2011 08:34:53 +0000 (08:34 +0000)]
Logic: clear "Script" when setting Script Controller mode to "Module"
The text datablock was linked to the controller. So even if the script was set to 'module' and saved, once linked/appended the object the script would come together.
If someone wants to implement this "clear" only once the file is saved, please go ahead. But I believe it's ok to  loose the script if you change it for module (and with the new datablock lookup it's straightforward/quick to reassign a textblock)

-- bug not reported anywhere, from my own list

9 years agoremove some warning for unused struct members
Campbell Barton [Sat, 11 Jun 2011 17:05:20 +0000 (17:05 +0000)]
remove some warning for unused struct members

9 years agoimproved autocompleation when there is a common prefix
Campbell Barton [Sat, 11 Jun 2011 17:03:26 +0000 (17:03 +0000)]
improved autocompleation when there is a common prefix

9 years agowarning fix for gcc
Campbell Barton [Sat, 11 Jun 2011 15:37:16 +0000 (15:37 +0000)]
warning fix for gcc

9 years agoFix for edge mesh BVH: The edge distance callback for leaf nodes was calculating...
Lukas Toenne [Sat, 11 Jun 2011 14:08:46 +0000 (14:08 +0000)]
Fix for edge mesh BVH: The edge distance callback for leaf nodes was calculating actual sqrt'ed distance, while needing squared distance to be compatible with bounding box checks. This also solves previous concerns about performance when using sqrt in the comparison callback.

9 years agoBugfix #27105
Ton Roosendaal [Sat, 11 Jun 2011 13:12:57 +0000 (13:12 +0000)]
Bugfix #27105

Node editor: collapsed node didn't allow to size it using the
right hand side grab thingemabobs.

9 years agoBugfix #27138
Ton Roosendaal [Sat, 11 Jun 2011 12:10:01 +0000 (12:10 +0000)]
Bugfix #27138

Theme color fix for button type "Value slider".
On text editing mode, the selected part of the text was invisible.

9 years agofix for recent commit, this stops makesdna from working right:
Campbell Barton [Sat, 11 Jun 2011 10:09:56 +0000 (10:09 +0000)]
fix for recent commit, this stops makesdna from working right:
/* ... // ...  */

9 years agoremove backbuf from internal struct's (unused in 2.5x)
Campbell Barton [Sat, 11 Jun 2011 08:55:29 +0000 (08:55 +0000)]
remove backbuf from internal struct's (unused in 2.5x)

9 years agofix for using system includes, the include macro wasn't un-setting the previous inclu...
Campbell Barton [Sat, 11 Jun 2011 06:00:28 +0000 (06:00 +0000)]
fix for using system includes, the include macro wasn't un-setting the previous include list so system includes could be mixed up with non system includes.

Also workaround for CMake 2.8.4 & GNU-Make which doesn't set CMAKE_INCLUDE_SYSTEM_FLAG_C

9 years ago* Code cleanup
Thomas Dinges [Fri, 10 Jun 2011 21:06:59 +0000 (21:06 +0000)]
* Code cleanup

9 years agosuspiciously consistent typo
Jason Wilkins [Fri, 10 Jun 2011 20:59:48 +0000 (20:59 +0000)]
suspiciously consistent typo

9 years ago2.5 Modifier UI Script:
Thomas Dinges [Fri, 10 Jun 2011 20:41:22 +0000 (20:41 +0000)]
2.5 Modifier UI Script:
* Tiny improvement, no need to have split declaration outside of if branch.

9 years agoCamera tracking integration
Sergey Sharybin [Fri, 10 Jun 2011 19:03:43 +0000 (19:03 +0000)]
Camera tracking integration

Fixes for windows compilation

9 years agoCamera tracking integration
Sergey Sharybin [Fri, 10 Jun 2011 17:17:25 +0000 (17:17 +0000)]
Camera tracking integration

- Added missed stub for blenderplayer, so it should
  compile again fine.
- libmv is added to extern/.
  Script for bundling needed subset of sourcses from
  libmv repo is included there.
- Eigen3 is also added to extern/.
  libmv depends on Eigen3 (which isnt't compatible with Eigen2
  from API point of view). So both of versions are going to
  be in worktree for time (until code which used Eigen2 would be
  ported to Eigen3).
- Added some functions to libmv-capi, so some things from
  this library could already be used.
- Added the very basic implementation of 2D tracking.
  It should be treated as draft for tracking architecture
  which probably would be cleaned up, changed or whatever else.
  Current implementation was supposed to demonstrate that our
  structures and understading is correct to interact with libmv easily.

9 years agoCamera tracking integration
Sergey Sharybin [Fri, 10 Jun 2011 17:06:37 +0000 (17:06 +0000)]
Camera tracking integration

- Disallow moving pattern/search area in way when marker position is
  outside of pattern area.
- MoiveClip could be set as background for 3D view.
  Added background source property to BGPic to switch between image
  and movie. Movie is a bit more complicaated entity than clip (due to
  displaying bundles, test objects and so) that's why i've sliptted
  background into two sources.
- Added Layout.template_movieclip to display general clip settings.
  Used in Footage panel of SpaceClip and background image properties
  in 3d view.
- Display bundles in 3D view as spheres. Selection is synchronized to
  markers associated with this bundle.
  Bundle can't be selected in 3D view.
- Recoded internal DNA structures, RNA and operators to match libmv entities.
  Tracking data now consists of Tracks, each tracks consists of markers
  which are associated with frame number. Markers holds position only,
  pattern and search areas settings are stored in track. Such settings should
  be unified for all markers in track and marker should hold position and
  frame number only.

9 years agofix [#27627] Strange behavior with solid open gl lights
Campbell Barton [Fri, 10 Jun 2011 16:59:15 +0000 (16:59 +0000)]
fix [#27627] Strange behavior with solid open gl lights
disable turning off all lights in the user preferences.

9 years agoMerging r37123 through r37370 from trunk into soc-2011-tomato:
Sergey Sharybin [Fri, 10 Jun 2011 16:58:07 +0000 (16:58 +0000)]
Merging r37123 through r37370 from trunk into soc-2011-tomato:

9 years agoBugfix #27136
Ton Roosendaal [Fri, 10 Jun 2011 14:03:51 +0000 (14:03 +0000)]
Bugfix #27136

Ending localview - which is similar to layer change - should send
update similar to change layers too. Needed for example when loading
a file saved in local view or when changing time in localview.

9 years agofix [#27607] Scene's render.filepath gets cropped to 159 characters
Campbell Barton [Fri, 10 Jun 2011 10:13:50 +0000 (10:13 +0000)]
fix [#27607] Scene's render.filepath gets cropped to 159 characters
use 240 char limit, remove backbuffer path which wasn't used.

9 years agoadded a check to console auto-compleation for pythons struct_seq type, so
Campbell Barton [Fri, 10 Jun 2011 09:44:27 +0000 (09:44 +0000)]
added a check to console auto-compleation for pythons struct_seq type, so and sys.float_info autocompleate their attributes rather then bring treated as a typle.

9 years agofix [#27495] Incorrect result of image name autocompletion
Campbell Barton [Fri, 10 Jun 2011 07:22:35 +0000 (07:22 +0000)]
fix [#27495] Incorrect result of image name autocompletion

9 years agoadd includes for windows.
Campbell Barton [Thu, 9 Jun 2011 18:28:58 +0000 (18:28 +0000)]
add includes for windows.

9 years agoupdate for tests, error out when duplicate modules are found, all ctest tests pass...
Campbell Barton [Thu, 9 Jun 2011 16:20:00 +0000 (16:20 +0000)]
update for tests, error out when duplicate modules are found, all ctest tests pass again.

9 years agoBugfix #27081
Ton Roosendaal [Thu, 9 Jun 2011 16:12:10 +0000 (16:12 +0000)]
Bugfix #27081

Displacement mapping didn't do linear interpolation between pixels,
causing render artefacts. Now it uses for image render without AA
a default interploation filter of 1 pixel size.

Fix provided by Miika Hamalainen. Thanks!

9 years agoFix for GLSL material node inside groups. These were using the GPULink point from...
Lukas Toenne [Thu, 9 Jun 2011 16:05:34 +0000 (16:05 +0000)]
Fix for GLSL material node inside groups. These were using the GPULink point from the input stack argument, but this only exists for directly linked nodes. If a node is linked directly to a group socket, which is not linked externally, the stack argument is actually the external group input.

9 years agoBugfix #27078
Ton Roosendaal [Thu, 9 Jun 2011 15:54:44 +0000 (15:54 +0000)]
Bugfix #27078

Added notifier to make material preview update when selecting a face
in editmode with a different material than displayed.

9 years agoBugfix #26886
Ton Roosendaal [Thu, 9 Jun 2011 15:26:05 +0000 (15:26 +0000)]
Bugfix #26886

Operator redo: F6 menu didn't work for macros yet (like Duplicate-grab).

9 years agoreplace log() calls with constants
Campbell Barton [Thu, 9 Jun 2011 14:27:51 +0000 (14:27 +0000)]
replace log() calls with constants

9 years agofix for own mistake & fix some comments.
Campbell Barton [Thu, 9 Jun 2011 13:46:34 +0000 (13:46 +0000)]
fix for own mistake & fix some comments.

9 years agofix for memory leak re-binding meshes.
Campbell Barton [Thu, 9 Jun 2011 11:19:34 +0000 (11:19 +0000)]
fix for memory leak re-binding meshes.

9 years agoFix [#27378] ASC-CDL Color Balance Node does not allow for full range of values
Matt Ebb [Thu, 9 Jun 2011 11:09:46 +0000 (11:09 +0000)]
Fix [#27378] ASC-CDL Color Balance Node does not allow for full range of values

Report title is incorrect, it does allow for the full range, but actually allows too much, so clamping slope and power min at 0.

9 years agoRNA properties - expose values as radians rather then degrees
Campbell Barton [Thu, 9 Jun 2011 08:58:27 +0000 (08:58 +0000)]
RNA properties - expose values as radians rather then degrees
- sequencer wipe angle
- mesh autosmooth
- bevel modifier angle
- edge split angle

9 years agouse a better method for finding the precision to use for float buttons, about 4x...
Campbell Barton [Thu, 9 Jun 2011 07:40:30 +0000 (07:40 +0000)]
use a better method for finding the precision to use for float buttons, about 4x faster to calculate and will show for eg, 0.0108 rather than 0.01, but 0.0100001 still displays as 0.01.

9 years agofix [#27616] Appending an object from a file brings all existing group links to scene
Campbell Barton [Thu, 9 Jun 2011 04:28:53 +0000 (04:28 +0000)]
fix [#27616] Appending an object from a file brings all existing group links to scene
When appending from a blend file which had an object already linked, _but_ was not in any scenes.
- the linked object would be instanced.

9 years ago[#27615] Box select of mesh object disabled or translated due to curve object
Campbell Barton [Thu, 9 Jun 2011 03:56:32 +0000 (03:56 +0000)]
[#27615] Box select of mesh object disabled or translated due to curve object

ED_view3d_init_mats_rv3d was calling glMultMatrixf() which was mostly harmless but could also lead to confusing bugs (2 reported previously).
Looked into this and every call to ED_view3d_init_mats_rv3d except for object drawing, doesn't need this so made a second version of ED_view3d_init_mats_rv3d - ED_view3d_init_mats_rv3d_gl which does the matrix multiplication, remove confusing checks in selection code.

9 years agoadd foreachIDLink function for cloth, remove cloth specific newlibadr calls in readfile.
Campbell Barton [Thu, 9 Jun 2011 02:47:22 +0000 (02:47 +0000)]
add foreachIDLink function for cloth, remove cloth specific newlibadr calls in readfile.

9 years agoBugfix #27601
Ton Roosendaal [Wed, 8 Jun 2011 16:08:57 +0000 (16:08 +0000)]
Bugfix #27601

Revision for previous fix; fast gaussian now survives on images
with a dimension smaller than 3 pixels!

Thanks Bastien Montagne for patch.

9 years agofix for own error r35918, generalizing looping over modifier ID links
Campbell Barton [Wed, 8 Jun 2011 16:00:52 +0000 (16:00 +0000)]
fix for own error r35918, generalizing looping over modifier ID links
broke loading smoke group references because they already had calls to
newlibadr_us() elsewhere, removing those assignments fixes loading.

9 years agoBugfix #27601
Ton Roosendaal [Wed, 8 Jun 2011 15:17:38 +0000 (15:17 +0000)]
Bugfix #27601

Scaling in compostior down to 1 pixel size crashed gaussian blur.

9 years agoApply [#27477] COLLADA export support for textures mapped to COLSPEC
Nathan Letwory [Wed, 8 Jun 2011 13:00:25 +0000 (13:00 +0000)]
Apply [#27477] COLLADA export support for textures mapped to COLSPEC
Patch provided by Pelle Johnsen

9 years agoShuffle some build code around to ensure debug builds on Windows actually run too.
Nathan Letwory [Wed, 8 Jun 2011 11:53:07 +0000 (11:53 +0000)]
Shuffle some build code around to ensure debug builds on Windows actually run too.

* creator/SConscript is now empty, code is moved to an emitter function in
* make sure COLLADA debug libs are used when BF_DEBUG=True

9 years agoBugfix [#27586] P for setting playback range is clamped to > 0
Joshua Leung [Wed, 8 Jun 2011 10:57:24 +0000 (10:57 +0000)]
Bugfix [#27586] P for setting playback range is clamped to > 0

Thanks for the patch Bastien Montagne. Was just legacy code from 2.4x

9 years agofix of fix :| [real fix for #36787 -- it was wrongly fixed on #36964]
Dalai Felinto [Wed, 8 Jun 2011 09:01:41 +0000 (09:01 +0000)]
fix of fix :| [real fix for #36787 -- it was wrongly fixed on #36964]
I guess I tested the fix outside the camera view (which always worked). duhhh
Working now.

9 years agocmake: remove python include in the wm module, set opengl as a system include.
Campbell Barton [Wed, 8 Jun 2011 05:39:58 +0000 (05:39 +0000)]
cmake: remove python include in the wm module, set opengl as a system include.

9 years agodon't write file history in backgound mode (running ctest would overwrite all my...
Campbell Barton [Wed, 8 Jun 2011 01:53:12 +0000 (01:53 +0000)]
don't write file history in backgound mode (running ctest would overwrite all my recent-files.txt), and add an error about mingw/quicktime being unsupported.

9 years agodraw sequences with invalid effect frame ranges pink to highlight they are invalid...
Campbell Barton [Tue, 7 Jun 2011 18:34:33 +0000 (18:34 +0000)]
draw sequences with invalid effect frame ranges pink to highlight they are invalid and wont render.

9 years agofix for vertex group copy to selected
Campbell Barton [Tue, 7 Jun 2011 18:04:03 +0000 (18:04 +0000)]
fix for vertex group copy to selected
- was using un-initialized stack memory if the source / target object had no vertex group.
- if the target object had no vertex groups it would fails silently (not a bug but not very good functionality)
- added an error message if any copying fails.

9 years agofix for sequencer transform with effects strips where the effects could be moved...
Campbell Barton [Tue, 7 Jun 2011 16:47:25 +0000 (16:47 +0000)]
fix for sequencer transform with effects strips where the effects could be moved to invalid times to avoid overlap but would immediately refresh back to overlapping locations after.

9 years agodisable the readonly state while rna property callbacks run.
Campbell Barton [Tue, 7 Jun 2011 16:08:49 +0000 (16:08 +0000)]
disable the readonly state while rna property callbacks run.

9 years agoFix: correct spacing for file select items, using font size + dpi.
Ton Roosendaal [Tue, 7 Jun 2011 15:33:01 +0000 (15:33 +0000)]
Fix: correct spacing for file select items, using font size + dpi.

9 years agorna option not to save certain properties for redoing later, currently only used...
Campbell Barton [Tue, 7 Jun 2011 10:54:57 +0000 (10:54 +0000)]
rna option not to save certain properties for redoing later, currently only used by operator presets.

9 years agofix for edge slide snapping values being incorrect (reported by Nether Hound).
Campbell Barton [Tue, 7 Jun 2011 09:35:20 +0000 (09:35 +0000)]
fix for edge slide snapping values being incorrect (reported by Nether Hound).
Also dont call the value a 'Percent' and clamp the range displayed in the header.
snap range being

9 years agoupdate ctest md5sums for import/export to match changes to the scripts, also some...
Campbell Barton [Tue, 7 Jun 2011 08:47:33 +0000 (08:47 +0000)]
update ctest md5sums for import/export to match changes to the scripts, also some minor formatting change for bpy_props.c

9 years agogetting useful results out of the round compo node was tricky, use the second value...
Campbell Barton [Tue, 7 Jun 2011 08:16:42 +0000 (08:16 +0000)]
getting useful results out of the round compo node was tricky, use the second value to determine how much to round by (can be used like a posterize filter)

9 years agoerror pointed out by Jeroen Bakker with the math nodes round function. was incorrectl...
Campbell Barton [Tue, 7 Jun 2011 07:57:26 +0000 (07:57 +0000)]
error pointed out by Jeroen Bakker with the math nodes round function. was incorrectly using the output rather then the input.

9 years agofix for glitch in previous commit with 0.00002 displaying as 0.000020, this uses...
Campbell Barton [Tue, 7 Jun 2011 05:26:10 +0000 (05:26 +0000)]
fix for glitch in previous commit with 0.00002 displaying as 0.000020, this uses 2 calls to double_round which I'd rather avoid but at least it now works right for users.

9 years agosmarter precision calculation, so 0.000001 isn't displayed as 0.00.
Campbell Barton [Tue, 7 Jun 2011 04:06:10 +0000 (04:06 +0000)]
smarter precision calculation, so 0.000001 isn't displayed as 0.00.
there is a minor problem with this commit:
 0.00001 --> 0.00001 # good
 0.000015 --> 0.000015 # good
 0.0000199 --> 0.00002 # ok
 0.00002 --> 0.000020 # wrong, has trailing 0

Tried to fix this but the case is hard to check for without more calculations which Id like to avoid.

9 years agoMove UI float precission calculation into its own function.
Campbell Barton [Tue, 7 Jun 2011 02:39:40 +0000 (02:39 +0000)]
Move UI float precission calculation into its own function.

9 years agoA line of code -can- wreck your day. Should work now, :)
Antony Riakiotakis [Mon, 6 Jun 2011 23:19:25 +0000 (23:19 +0000)]
A line of code -can- wreck your day. Should work now, :)

9 years agofix for float projection painting, now updating correctly.
Antony Riakiotakis [Mon, 6 Jun 2011 22:10:05 +0000 (22:10 +0000)]
fix for float projection painting, now updating correctly.

This fix also allows for partial update of the image, speeding up painting.
The different code path implemented will be used to upload high resolution images to OpenGL when onion branch is merged.
Due to conversion of float textures to/from sRGB, corrections made to brush color sampling to take account of the image profile. This is not 100% correct yet as texture images used for projection painting strokes are not converted to/from sRGB yet(This has been decided due to loss of precision for 8-bit formats). It will have to do for now, though.

last-minute update, exr image loading is broken, will fix asap

9 years agoUI: fix render properties panel order, it didn't match order in startup.blend,
Brecht Van Lommel [Mon, 6 Jun 2011 20:04:58 +0000 (20:04 +0000)]
UI: fix render properties panel order, it didn't match order in startup.blend,
so was different when opening a new property editor.

9 years agoUI: rename mesh Settings panel to Texture Space, since it only contains
Brecht Van Lommel [Mon, 6 Jun 2011 19:44:28 +0000 (19:44 +0000)]
UI: rename mesh Settings panel to Texture Space, since it only contains
settings related to that. Also close by default.

9 years agoOne more debug line was deleted from multires bakers.
Sergey Sharybin [Mon, 6 Jun 2011 19:33:38 +0000 (19:33 +0000)]
One more debug line was deleted from multires bakers.
Now it would work really fast.