Skip to content

Commit 46c9ecb

Browse files
committed
Clean up error message for pigment/normal/density variant of max_extent() function.
1 parent f162f53 commit 46c9ecb

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

source/base/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define OFFICIAL_VERSION_STRING "3.7.1"
4646
#define OFFICIAL_VERSION_NUMBER 371
4747

48-
#define POV_RAY_PRERELEASE "alpha.8747741"
48+
#define POV_RAY_PRERELEASE "alpha.8755786"
4949

5050
#if (POV_RAY_IS_AUTOBUILD == 1) && ((POV_RAY_IS_OFFICIAL == 1) || (POV_RAY_IS_SEMI_OFFICIAL == 1))
5151
#ifdef POV_RAY_PRERELEASE

source/parser/parser_expressions.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,6 @@ void Parser::Parse_Num_Factor (EXPRESS& Express,int *Terms)
12121212
case MAX_EXTENT_TOKEN:
12131213
GET (LEFT_PAREN_TOKEN);
12141214
EXPECT
1215-
12161215
CASE (OBJECT_ID_TOKEN)
12171216
Object = reinterpret_cast<ObjectPtr>(Token.Data);
12181217
if ( Object )
@@ -1237,8 +1236,7 @@ void Parser::Parse_Num_Factor (EXPRESS& Express,int *Terms)
12371236
}
12381237
else
12391238
{
1240-
Error("\rThe parameter to max_extent must be a bump_map, image map\r"
1241-
"or density_file form of a normal, pigment or density identifier.");
1239+
Error("A pigment, normal or density parameter to max_extent must be based on an image or density file.");
12421240
}
12431241
EXIT
12441242
END_CASE

unix/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.1-alpha.8747741
1+
3.7.1-alpha.8755786

0 commit comments

Comments
 (0)